Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9769/0.9769, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.987/1.987, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.278e-05/4.487e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002741/0.002786, allocations: 0.8338 MB / 0.8124 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.002963, allocations: 41.31 kB / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.003033, allocations: 0 / 0.8124 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.003094, allocations: 11.86 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.003225, allocations: 11.94 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.764e-05/0.003303, allocations: 13.67 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.003458, allocations: 67.77 kB / 0.8125 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.003653, allocations: 31.97 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.003781, allocations: 39.89 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.003837, allocations: 17.52 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.003862, allocations: 4 kB / 0.8126 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.003875, allocations: 8 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.003902, allocations: 15.92 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.003946, allocations: 20.45 kB / 0.8126 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004094, allocations: 47.77 kB / 0.8127 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.004101, allocations: 1.656 kB / 0.8127 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.943e-06/0.004103, allocations: 0 / 0.8127 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.00411, allocations: 0 / 0.8127 GB, free: 0.5938 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005736/0.004684, allocations: 408.3 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.004749, allocations: 8.688 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.004821, allocations: 16.89 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.005125, allocations: 141.8 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.005144, allocations: 4.375 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.005168, allocations: 8.375 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.005365, allocations: 94.66 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.005382, allocations: 192 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.0054, allocations: 384 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.005415, allocations: 5.5 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.005491, allocations: 31.86 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.006211, allocations: 458.3 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.006291, allocations: 64.06 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.006334, allocations: 23.42 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.006343, allocations: 0 / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.006374, allocations: 34.73 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.006375, allocations: 0 / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002226/0.006597, allocations: 55.89 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.006655, allocations: 77.11 kB / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.006822, allocations: 189.8 kB / 0.8142 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006838, allocations: 25.7 kB / 0.8143 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.006953, allocations: 158.7 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.00697, allocations: 11.89 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.007014, allocations: 21.41 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.007198, allocations: 0.4922 MB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.007222, allocations: 4 kB / 0.8149 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.007258, allocations: 23.38 kB / 0.8149 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.007315, allocations: 19.88 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.007318, allocations: 0.5 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.007431, allocations: 55.53 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.007457, allocations: 8 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.007466, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.007491, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.007582, allocations: 6.406 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.007594, allocations: 7.938 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.007623, allocations: 7.953 kB / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007631, allocations: 0 / 0.815 GB, free: 13.93 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.007745, allocations: 164.5 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.007791, allocations: 7.938 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.007836, allocations: 8.188 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.00784, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.007851, allocations: 13.09 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007856, allocations: 0 / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.008349, allocations: 0.5427 MB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.008354, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.008386, allocations: 4.781 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.008391, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.0084, allocations: 4.781 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.008403, allocations: 4 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008405, allocations: 1.781 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.008502, allocations: 84.12 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.008524, allocations: 3.953 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.008541, allocations: 7.938 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.00856, allocations: 8.797 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.008579, allocations: 3.938 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.008583, allocations: 1.125 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.008658, allocations: 141 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008658, allocations: 0 / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002476/0.008906, allocations: 16.92 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.009074, allocations: 95.25 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.009215, allocations: 20.8 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.00922, allocations: 4 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.009238, allocations: 16.5 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.009441, allocations: 5.688 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.009987, allocations: 162.7 kB / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.31e-05/0.01005, allocations: 63.34 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.01009, allocations: 4.484 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.01014, allocations: 13.84 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 1.994e-06/0.01014, allocations: 0 / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.00324/0.01338, allocations: 344.6 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.449679953977466]