Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.1 MB / 399.7 MB, free: 9.543 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.2 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.3 MB / 0.7871 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 95.94 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.942e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2615, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8919/1.153, allocations: 148.7 MB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/1.154, allocations: 64.98 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002985/1.157, allocations: 1.095 MB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.157, allocations: 0 / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.323e-06/1.157, allocations: 0 / 1.359 GB, free: 34.73 MB / 0.8386 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.0002489/1.157, allocations: 353.9 kB / 1.359 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.157, allocations: 15.59 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/1.157, allocations: 10.28 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/1.157, allocations: 180.1 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.157, allocations: 6.469 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/1.157, allocations: 6.375 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.157, allocations: 88.62 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.157, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.157, allocations: 3.812 kB / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.157, allocations: 0 / 1.359 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/1.157, allocations: 45.41 kB / 1.359 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/1.158, allocations: 453 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/1.158, allocations: 44.5 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/1.158, allocations: 17.06 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/1.158, allocations: 3.688 kB / 1.36 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/1.158, allocations: 31.92 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/1.158, allocations: 4 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/1.158, allocations: 49.2 kB / 1.36 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/1.158, allocations: 78.47 kB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.158, allocations: 145.2 kB / 1.36 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/1.158, allocations: 25.7 kB / 1.36 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/1.158, allocations: 105.5 kB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/1.158, allocations: 9.328 kB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/1.159, allocations: 0 / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/1.159, allocations: 320.1 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/1.159, allocations: 12.12 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/1.159, allocations: 20.81 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/1.159, allocations: 8.266 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.159, allocations: 7.891 kB / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.749e-05/1.159, allocations: 62.55 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.159, allocations: 7.906 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.159, allocations: 3.844 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.159, allocations: 0 / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/1.159, allocations: 5.125 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.159, allocations: 5.172 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/1.159, allocations: 7.844 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/1.159, allocations: 3.656 kB / 1.361 GB, free: 32.87 MB / 0.8386 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 () * 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 4.525e-05/1.159, allocations: 101 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/1.159, allocations: 15.61 kB / 1.361 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/1.159, allocations: 14.52 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.159, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.159, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/1.159, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/1.159, allocations: 475.3 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.159, allocations: 2.25 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/1.159, allocations: 0.875 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.159, allocations: 3.906 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/1.159, allocations: 7.938 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.159, allocations: 0.5156 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.159, allocations: 0 / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.86e-05/1.16, allocations: 96.28 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/1.16, allocations: 82.94 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/1.16, allocations: 8.672 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/1.16, allocations: 0 / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/1.16, allocations: 4.672 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.16, allocations: 3.844 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.69e-05/1.16, allocations: 116.8 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.16, allocations: 3.844 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001694/1.16, allocations: 7.312 kB / 1.362 GB, free: 32 MB / 0.8386 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 () * 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 9.704e-05/1.16, allocations: 101.4 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.415e-05/1.16, allocations: 22.5 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.16, allocations: 3.375 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/1.16, allocations: 4.375 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/1.16, allocations: 10.8 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/1.16, allocations: 111 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/1.161, allocations: 0.7003 MB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.004e-05/1.161, allocations: 6.859 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/1.161, allocations: 11.25 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.161, allocations: 0 / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.002273/1.163, allocations: 432.5 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches