Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.891/2.891, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.866, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001107/0.8672, allocations: 0.5278 MB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.8673, allocations: 39.8 kB / 1.021 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.8674, allocations: 4 kB / 1.021 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.8674, allocations: 3.938 kB / 1.021 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.8675, allocations: 7.922 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.563e-05/0.8675, allocations: 15.98 kB / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.8676, allocations: 31.97 kB / 1.021 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.8678, allocations: 36.14 kB / 1.021 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.8678, allocations: 15.88 kB / 1.021 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.8679, allocations: 23.84 kB / 1.021 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.8679, allocations: 0 / 1.021 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.8679, allocations: 4 kB / 1.022 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.868, allocations: 7.938 kB / 1.022 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.868, allocations: 37.64 kB / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.426e-05/0.8681, allocations: 47.89 kB / 1.022 GB, free: 268 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8681, allocations: 0 / 1.022 GB, free: 268 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8681, allocations: 4 kB / 1.022 GB, free: 264 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.8681, allocations: 0 / 1.022 GB, free: 264 kB / 0.7637 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.0004407/0.8686, allocations: 369 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8686, allocations: 11.98 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.8687, allocations: 15.81 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.8689, allocations: 187 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.8689, allocations: 3.938 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.8689, allocations: 12 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.8691, allocations: 101.3 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8691, allocations: 0 / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.8692, allocations: 4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8692, allocations: 7.938 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.8692, allocations: 39.86 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.8698, allocations: 436.7 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.8698, allocations: 41.25 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.8698, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8699, allocations: 34.55 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.8699, allocations: 0 / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.87, allocations: 57.56 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.8701, allocations: 81.11 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.8702, allocations: 160.7 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.8703, allocations: 25.7 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.8703, allocations: 107.9 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.8704, allocations: 11.84 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.8704, allocations: 0 / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8705, allocations: 323.1 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.8705, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.8705, allocations: 17.72 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.8705, allocations: 11.94 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8706, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.319e-05/0.8706, allocations: 57.59 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.8707, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8707, allocations: 8.062 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8707, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.8708, allocations: 11.89 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8708, allocations: 0 / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.8708, allocations: 7.984 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.8708, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.8709, allocations: 113.8 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.8709, allocations: 7.906 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.871, allocations: 11.88 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.871, allocations: 4 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.871, allocations: 4.047 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.871, allocations: 3.984 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.8713, allocations: 470.7 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8713, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.8714, allocations: 7.938 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.8714, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8714, allocations: 16.02 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8714, allocations: 0 / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8714, allocations: 0 / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.887e-05/0.8715, allocations: 87.55 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.8715, allocations: 92.97 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.8716, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.8716, allocations: 7.969 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.8716, allocations: 4 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.8716, allocations: 0 / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.8717, allocations: 121.1 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8717, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001809/0.8719, allocations: 11.94 kB / 1.025 GB, free: 12.85 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.872, allocations: 99.23 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.8721, allocations: 19.94 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8721, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-06/0.8721, allocations: 8 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.8723, allocations: 4 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.8726, allocations: 182.8 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.8729, allocations: 0.6965 MB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.8729, allocations: 4.438 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.873, allocations: 11.44 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/0.873, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.002406/0.8754, allocations: 419.9 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches