Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.001058/0.001058, 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.00102/0.00102, allocations: 161.4 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.9629/0.9629, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.936/1.936, allocations: 377.9 MB / 0.6236 GB, free: 8.582 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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.708e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001717/0.001744, allocations: 0.8246 MB / 0.8123 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.001884, allocations: 44.44 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.001946, allocations: 0 / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.00199, allocations: 13.19 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.002092, allocations: 15.86 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.519e-05/0.002147, allocations: 15.98 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.002265, allocations: 59.84 kB / 0.8125 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.002418, allocations: 37.16 kB / 0.8125 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.002539, allocations: 47.83 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.002589, allocations: 19.91 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.002614, allocations: 4.688 kB / 0.8126 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.002622, allocations: 4.906 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.002642, allocations: 11.94 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.002672, allocations: 19.86 kB / 0.8126 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.809e-05/0.00277, allocations: 40.5 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002772, allocations: 0 / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002773, allocations: 2.125 kB / 0.8127 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.002779, allocations: 3.984 kB / 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.000542/0.003321, allocations: 404.3 kB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.00337, allocations: 8.031 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.003418, allocations: 16.89 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.003581, allocations: 145.2 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003593, allocations: 8.312 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.003607, allocations: 9.375 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.003762, allocations: 92.17 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.003772, allocations: 192 / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.003785, allocations: 1.094 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.003797, allocations: 4.375 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.003854, allocations: 36.53 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.004386, allocations: 0.7388 MB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.004483, allocations: 265.4 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.004519, allocations: 130.9 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.004549, allocations: 123.8 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.004593, allocations: 158 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.004594, allocations: 0 / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.301e-05/0.004657, allocations: 33.66 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.004711, allocations: 174.5 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.00484, allocations: 205.5 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.004848, allocations: 25.7 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.004919, allocations: 174.5 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.004922, allocations: 0.6562 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.004955, allocations: 35.36 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.005069, allocations: 492.8 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.005085, allocations: 8 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.566e-05/0.005131, allocations: 86.94 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.005206, allocations: 88.72 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.005209, allocations: 3.938 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001416/0.005351, allocations: 86.56 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.005366, allocations: 4 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.005373, allocations: 5.531 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.005389, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.005456, allocations: 15.94 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.005466, allocations: 11.92 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.005492, allocations: 8.469 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.005499, allocations: 4.625 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.351e-05/0.005592, allocations: 280.2 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.005645, allocations: 152.8 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.005702, allocations: 153.5 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-05/0.005774, allocations: 283.9 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.7e-05/0.005841, allocations: 268.9 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.397e-05/0.005915, allocations: 272 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.006121, allocations: 0.5047 MB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/0.006159, allocations: 144.9 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.006203, allocations: 152.8 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-05/0.006278, allocations: 268.9 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.006354, allocations: 268 kB / 0.8188 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.332e-05/0.006427, allocations: 277.4 kB / 0.819 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-05/0.006495, allocations: 268.1 kB / 0.8193 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.00665, allocations: 451.9 kB / 0.8197 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.006705, allocations: 165.4 kB / 0.8199 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.006931, allocations: 264.1 kB / 0.8201 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.006985, allocations: 149.5 kB / 0.8203 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.007052, allocations: 270.2 kB / 0.8205 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.007087, allocations: 148.8 kB / 0.8207 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.007151, allocations: 153.4 kB / 0.8208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007151, allocations: 0 / 0.8208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001768/0.007328, allocations: 11.89 kB / 0.8208 GB, free: 7.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001145/0.007442, allocations: 215.3 kB / 0.821 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.00754, allocations: 43.05 kB / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007541, allocations: 0 / 0.8211 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-06/0.007543, allocations: 4 kB / 0.8211 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.007845, allocations: 0.7023 MB / 0.8218 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.008118, allocations: 276.9 kB / 0.822 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.008161, allocations: 64.45 kB / 0.8221 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.008194, allocations: 6.375 kB / 0.8221 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.008214, allocations: 12.5 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.008214, allocations: 1.312 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of Templates: time 0.002043/0.01026, allocations: 314 kB / 0.8224 GB, free: 6.102 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.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.147303813137114]