Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001065/0.001065, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001121/0.001121, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 1.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.933/1.933, allocations: 377.9 MB / 0.6239 GB, free: 8.414 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.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.403e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001987/0.002011, allocations: 0.816 MB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.00214, allocations: 39.78 kB / 0.8129 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.002193, allocations: 4 kB / 0.8129 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.002227, allocations: 7.875 kB / 0.8129 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.002321, allocations: 13.45 kB / 0.8129 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.247e-05/0.002363, allocations: 19.98 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.478e-05/0.002458, allocations: 59.84 kB / 0.813 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.002571, allocations: 27.97 kB / 0.813 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.002674, allocations: 52.3 kB / 0.813 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.00271, allocations: 13.28 kB / 0.813 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.002726, allocations: 7.938 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.002735, allocations: 8 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.002753, allocations: 8.531 kB / 0.8131 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.002781, allocations: 19.92 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.838e-05/0.002869, allocations: 41.16 kB / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002871, allocations: 0 / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002872, allocations: 0 / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.002875, allocations: 0 / 0.8131 GB, free: 348 kB / 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.0003539/0.003229, allocations: 417.3 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.003267, allocations: 8.031 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.0033, allocations: 18.14 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.003423, allocations: 140.4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003435, allocations: 8.375 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003445, allocations: 4.375 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.003554, allocations: 90.66 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003561, allocations: 192 / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003569, allocations: 4.375 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.003576, allocations: 5.094 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.003609, allocations: 27.84 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.004044, allocations: 0.7197 MB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.004128, allocations: 265.6 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.004168, allocations: 137.5 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.004196, allocations: 123.2 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.004241, allocations: 152.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.004242, allocations: 0 / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.089e-05/0.004303, allocations: 37.64 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.004356, allocations: 174.5 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.004472, allocations: 199.5 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004481, allocations: 26.2 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.004555, allocations: 178.4 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.004559, allocations: 8.516 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.004594, allocations: 25.31 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.004713, allocations: 0.4884 MB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.004723, allocations: 7.922 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.004767, allocations: 73.48 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.004842, allocations: 91.95 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004844, allocations: 4.531 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001194/0.004963, allocations: 83.08 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.004978, allocations: 8.781 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004983, allocations: 0 / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.004997, allocations: 9.266 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.005045, allocations: 12 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.005049, allocations: 3.984 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.005087, allocations: 11.89 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005092, allocations: 4.844 kB / 0.8166 GB, free: 12.54 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.324e-05/0.005185, allocations: 288.9 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.005243, allocations: 148.9 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.005294, allocations: 156.6 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/0.005354, allocations: 269.4 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.227e-05/0.005417, allocations: 268.1 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.286e-05/0.005479, allocations: 272 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.005682, allocations: 0.4888 MB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/0.005716, allocations: 150.5 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.005754, allocations: 144.9 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.426e-05/0.005818, allocations: 272.1 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.005881, allocations: 268 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002013/0.006082, allocations: 265.2 kB / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-05/0.006145, allocations: 272 kB / 0.8197 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.006282, allocations: 459.8 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.006334, allocations: 153.9 kB / 0.8203 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.006401, allocations: 268.1 kB / 0.8205 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.006473, allocations: 148.8 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.006544, allocations: 273.4 kB / 0.8209 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.006583, allocations: 148.8 kB / 0.8211 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.006643, allocations: 144.9 kB / 0.8212 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006643, allocations: 0.5 kB / 0.8212 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002236/0.006866, allocations: 13.33 kB / 0.8212 GB, free: 7.59 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.0001159/0.006982, allocations: 210.4 kB / 0.8214 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.796e-05/0.00706, allocations: 45.73 kB / 0.8215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.007063, allocations: 3.938 kB / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.007064, allocations: 0 / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.007411, allocations: 0.7057 MB / 0.8222 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.007684, allocations: 280.1 kB / 0.8224 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.775e-05/0.007722, allocations: 59.34 kB / 0.8225 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.00776, allocations: 9.047 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.007795, allocations: 70.2 kB / 0.8226 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.007796, allocations: 0 / 0.8226 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.002015/0.00981, allocations: 339.2 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.140143719967455]