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.343/2.343, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001059/0.001058, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.58/1.58, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 103.3 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.774e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2798, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.904/1.184, allocations: 148.1 MB / 1.351 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.184, allocations: 63.28 kB / 1.351 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003774/1.188, allocations: 1.084 MB / 1.352 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.705e-06/1.188, allocations: 4 kB / 1.352 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.188, allocations: 3.969 kB / 1.352 GB, free: 34.15 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.0003795/1.188, allocations: 351 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.189, allocations: 12.03 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/1.189, allocations: 11.69 kB / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/1.189, allocations: 181.7 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.189, allocations: 2.656 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/1.189, allocations: 5.281 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001416/1.189, allocations: 30.08 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/1.189, allocations: 78.88 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.189, allocations: 0 / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/1.189, allocations: 0.7031 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.189, allocations: 2.625 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/1.19, allocations: 416.2 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/1.19, allocations: 36.78 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/1.19, allocations: 18.34 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/1.19, allocations: 5.344 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.19, allocations: 35.16 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.19, allocations: 1.312 kB / 1.353 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/1.19, allocations: 44.08 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/1.19, allocations: 77.11 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.19, allocations: 114.8 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/1.191, allocations: 32.58 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/1.191, allocations: 104.6 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/1.191, allocations: 9.234 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/1.191, allocations: 3.938 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.191, allocations: 314.2 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/1.191, allocations: 5.938 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/1.191, allocations: 19.7 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/1.191, allocations: 12.47 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.191, allocations: 1.25 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.945e-05/1.191, allocations: 54.23 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.191, allocations: 5.578 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.191, allocations: 1.281 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.191, allocations: 0 / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/1.191, allocations: 13.97 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.191, allocations: 6.141 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/1.191, allocations: 5.75 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.191, allocations: 8.938 kB / 1.354 GB, free: 32.33 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 7.47e-05/1.191, allocations: 102.3 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/1.191, allocations: 16.62 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/1.191, allocations: 6.141 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.191, allocations: 2.219 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.191, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.191, allocations: 1.344 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/1.192, allocations: 446 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.192, allocations: 1.969 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/1.192, allocations: 3.25 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.192, allocations: 1.312 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/1.192, allocations: 1.531 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.192, allocations: 0.6562 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.192, allocations: 5.219 kB / 1.354 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.778e-05/1.192, allocations: 94.58 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/1.192, allocations: 81.77 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/1.192, allocations: 1.797 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/1.192, allocations: 0.75 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/1.192, allocations: 2 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/1.192, allocations: 1.906 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.96e-05/1.192, allocations: 100.5 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.192, allocations: 4.031 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003016/1.193, allocations: 11.81 kB / 1.354 GB, free: 31.49 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 0.0001345/1.193, allocations: 96.52 kB / 1.355 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.168e-05/1.193, allocations: 15 kB / 1.355 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.193, allocations: 0 / 1.355 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/1.193, allocations: 7.906 kB / 1.355 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/1.193, allocations: 9.828 kB / 1.355 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/1.193, allocations: 102.6 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.194, allocations: 0.6972 MB / 1.355 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.172e-05/1.194, allocations: 4.281 kB / 1.355 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/1.194, allocations: 10.06 kB / 1.355 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.194, allocations: 0 / 1.355 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.00253/1.196, allocations: 302.1 kB / 1.356 GB, free: 30.54 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