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.002415/0.002415, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002847/0.002847, allocations: 157.7 kB / 23.55 MB, free: 0.875 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 1.637/1.637, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.075/3.075, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] 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.422e-06/1.422e-06, allocations: 0 / 0.8108 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.134e-05, allocations: 6.516 kB / 0.8108 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002133/0.002164, allocations: 0.8006 MB / 0.8116 GB, free: 204 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.002281, allocations: 44.91 kB / 0.8116 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.002332, allocations: 0 / 0.8116 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.002372, allocations: 13.11 kB / 0.8116 GB, free: 148 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.002463, allocations: 15.88 kB / 0.8117 GB, free: 132 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.601e-05/0.002519, allocations: 11.98 kB / 0.8117 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.002639, allocations: 65.59 kB / 0.8117 GB, free: 56 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.002763, allocations: 39.91 kB / 0.8118 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.002866, allocations: 39.92 kB / 0.8118 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.00292, allocations: 15.92 kB / 0.8118 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.002941, allocations: 4 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.002953, allocations: 8.75 kB / 0.8118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.002977, allocations: 15.83 kB / 0.8119 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.003007, allocations: 20.69 kB / 0.8119 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.003141, allocations: 79.62 kB / 0.812 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003143, allocations: 1.281 kB / 0.812 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003144, allocations: 0 / 0.812 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003148, allocations: 0 / 0.812 GB, free: 15.84 MB / 0.7292 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.0005294/0.003677, allocations: 405.4 kB / 0.8123 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.003711, allocations: 12.03 kB / 0.8123 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.003759, allocations: 16.84 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.003964, allocations: 145.1 kB / 0.8125 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.003978, allocations: 4.375 kB / 0.8125 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.003992, allocations: 13.28 kB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.00416, allocations: 93.61 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004169, allocations: 0.8438 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.004181, allocations: 4.375 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.004185, allocations: 1.469 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.004274, allocations: 39.86 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.004888, allocations: 471.1 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.005075, allocations: 62.22 kB / 0.8132 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.005116, allocations: 25.22 kB / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.005126, allocations: 0 / 0.8132 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.005163, allocations: 45.38 kB / 0.8132 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.005164, allocations: 2.219 kB / 0.8132 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.005349, allocations: 53.58 kB / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.005412, allocations: 77.11 kB / 0.8134 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.005601, allocations: 201.1 kB / 0.8135 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.00562, allocations: 25.7 kB / 0.8136 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.005733, allocations: 159.4 kB / 0.8137 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.005743, allocations: 7.953 kB / 0.8137 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.00579, allocations: 28.64 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.006047, allocations: 492.1 kB / 0.8142 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.006071, allocations: 11.94 kB / 0.8142 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.006108, allocations: 32.02 kB / 0.8143 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.006158, allocations: 28.09 kB / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00616, allocations: 0.5 kB / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.217e-05/0.006252, allocations: 55.08 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.006267, allocations: 8 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006272, allocations: 0 / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.006287, allocations: 5.516 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.006345, allocations: 4 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.006352, allocations: 7.938 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.006378, allocations: 3.953 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.006382, allocations: 1.844 kB / 0.8144 GB, free: 13.11 MB / 0.7292 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.0001163/0.006498, allocations: 160.6 kB / 0.8145 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.006536, allocations: 4 kB / 0.8145 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.006561, allocations: 7.469 kB / 0.8145 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.006565, allocations: 9.078 kB / 0.8146 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.00657, allocations: 4 kB / 0.8146 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.006575, allocations: 3.938 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.007078, allocations: 0.563 MB / 0.8151 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.007079, allocations: 3.938 kB / 0.8151 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.007102, allocations: 7.984 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007104, allocations: 0.5312 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.007111, allocations: 3.938 kB / 0.8151 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007112, allocations: 4.531 kB / 0.8151 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.007116, allocations: 8.453 kB / 0.8151 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.007225, allocations: 80.98 kB / 0.8152 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.007252, allocations: 11.94 kB / 0.8152 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007265, allocations: 4.781 kB / 0.8152 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.007283, allocations: 0 / 0.8152 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.007302, allocations: 8.469 kB / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.007304, allocations: 0 / 0.8152 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001065/0.007411, allocations: 152.5 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.007411, allocations: 0 / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001803/0.007591, allocations: 7.953 kB / 0.8154 GB, free: 11.99 MB / 0.7292 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.0001137/0.007705, allocations: 100.1 kB / 0.8155 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.767e-05/0.007792, allocations: 28.53 kB / 0.8155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007794, allocations: 1.344 kB / 0.8155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.007814, allocations: 15.62 kB / 0.8155 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.007956, allocations: 14.34 kB / 0.8155 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.008301, allocations: 179.7 kB / 0.8157 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.008382, allocations: 77.08 kB / 0.8158 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.008408, allocations: 3.984 kB / 0.8158 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.008434, allocations: 13.38 kB / 0.8158 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.008435, allocations: 0 / 0.8158 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.002793/0.01123, allocations: 339 kB / 0.8161 GB, free: 11.19 MB / 0.7292 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.049926895997487]