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.001612/0.001612, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001188/0.001188, allocations: 164.6 kB / 24.87 MB, free: 8.891 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.969/1.969, allocations: 377.9 MB / 0.6247 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.793e-06/1.793e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.491e-05, allocations: 7.031 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001508/0.001533, allocations: 0.8083 MB / 0.8136 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.001638, allocations: 44.47 kB / 0.8136 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.001684, allocations: 4.906 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.001714, allocations: 7.875 kB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.001796, allocations: 12.47 kB / 0.8136 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.606e-05/0.001832, allocations: 19.97 kB / 0.8137 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.001919, allocations: 68.7 kB / 0.8137 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.002016, allocations: 23.92 kB / 0.8137 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.002096, allocations: 49.02 kB / 0.8138 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.002128, allocations: 15.92 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.002142, allocations: 4 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.002149, allocations: 5.469 kB / 0.8138 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.002169, allocations: 19.91 kB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.00219, allocations: 12 kB / 0.8138 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.194e-05/0.002272, allocations: 47.7 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002274, allocations: 1.531 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002274, allocations: 0 / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.002278, allocations: 4 kB / 0.8139 GB, free: 336 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.0003993/0.002677, allocations: 404.2 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.002717, allocations: 13.38 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.002748, allocations: 12.89 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.002871, allocations: 140.5 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.002879, allocations: 0.9375 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.00289, allocations: 20.3 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.002984, allocations: 87.92 kB / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.002992, allocations: 192 / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.002998, allocations: 384 / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003003, allocations: 0.9688 kB / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.003031, allocations: 27.86 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.003434, allocations: 0.7244 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.003507, allocations: 265.4 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.003541, allocations: 130.9 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.003564, allocations: 119.2 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.003609, allocations: 161.1 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.00361, allocations: 0.7188 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.655e-05/0.003667, allocations: 41.62 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.003719, allocations: 172 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.003817, allocations: 200.2 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.003825, allocations: 25.7 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.00389, allocations: 178.4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.003892, allocations: 0.625 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.003921, allocations: 31.36 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004027, allocations: 0.4894 MB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.004035, allocations: 4 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.004073, allocations: 78.23 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.004131, allocations: 89.2 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004133, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001008/0.004233, allocations: 86.8 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.004244, allocations: 4 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.00425, allocations: 4 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.004259, allocations: 0.9688 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.004306, allocations: 19.92 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.00431, allocations: 6.312 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.004333, allocations: 11.89 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004338, allocations: 8 kB / 0.8173 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 8.473e-05/0.004423, allocations: 275.7 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.004471, allocations: 156.8 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.004662, allocations: 160.7 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/0.004715, allocations: 267.5 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-05/0.00477, allocations: 272 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/0.004827, allocations: 272 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.005003, allocations: 496.4 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/0.005039, allocations: 148.9 kB / 0.8193 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.005073, allocations: 148.8 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.477e-05/0.005127, allocations: 264.1 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.005183, allocations: 272.1 kB / 0.8199 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.927e-05/0.005242, allocations: 268 kB / 0.8202 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.328e-05/0.005306, allocations: 272.8 kB / 0.8204 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.00543, allocations: 451.9 kB / 0.8209 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.005475, allocations: 153.3 kB / 0.821 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.005545, allocations: 276.6 kB / 0.8213 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.005604, allocations: 156.8 kB / 0.8214 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.005666, allocations: 268.9 kB / 0.8217 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.005698, allocations: 146.2 kB / 0.8218 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.005749, allocations: 148.2 kB / 0.822 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005749, allocations: 0 / 0.822 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001553/0.005904, allocations: 7.953 kB / 0.822 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.0001126/0.006017, allocations: 219.9 kB / 0.8222 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.268e-05/0.00609, allocations: 36.52 kB / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.006091, allocations: 5.188 kB / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.006092, allocations: 0 / 0.8222 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.0002946/0.006387, allocations: 0.7062 MB / 0.8229 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.006632, allocations: 273.6 kB / 0.8232 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.006666, allocations: 63.34 kB / 0.8232 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.0067, allocations: 0.7344 kB / 0.8232 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.006733, allocations: 74.2 kB / 0.8233 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.006734, allocations: 0 / 0.8233 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.001889/0.008623, allocations: 339 kB / 0.8236 GB, free: 5.844 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.3201023042202]