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.316/2.316, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001256/0.001256, allocations: 189 kB / 498.1 MB, free: 5.773 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.674/1.674, allocations: 223.2 MB / 0.7948 GB, free: 17.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.001255/0.001255, allocations: 94.56 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 10.38 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.5463, allocations: 148.8 MB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5466, allocations: 63.95 kB / 1.368 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002753/0.5494, allocations: 1.084 MB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5494, allocations: 0 / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.5494, allocations: 4 kB / 1.369 GB, free: 12.13 MB / 0.8698 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.0004379/0.5499, allocations: 377.8 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5499, allocations: 11.97 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.55, allocations: 11.86 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.5502, allocations: 174.9 kB / 1.37 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5502, allocations: 8 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5502, allocations: 4 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.5504, allocations: 96.89 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5504, allocations: 7.984 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5505, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5505, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.821e-05/0.5506, allocations: 35.98 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.5512, allocations: 456.5 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.5513, allocations: 41.2 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.5514, allocations: 0 / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5514, allocations: 34.59 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5514, allocations: 4 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.5516, allocations: 53.59 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.5517, allocations: 81.11 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5519, allocations: 151.4 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.5519, allocations: 25.7 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.5519, allocations: 99.98 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.552, allocations: 7.891 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.552, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5521, allocations: 323.1 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.5521, allocations: 11.98 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.5522, allocations: 17.94 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.5522, allocations: 7.953 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5522, allocations: 3.938 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001069/0.5523, allocations: 65.53 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5523, allocations: 4.062 kB / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5523, allocations: 4 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5524, allocations: 4 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.5524, allocations: 4 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5524, allocations: 0 / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.5525, allocations: 7.906 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.5525, allocations: 8 kB / 1.371 GB, free: 9.793 MB / 0.8698 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 8.276e-05/0.5526, allocations: 113.8 kB / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.5526, allocations: 7.906 kB / 1.371 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.5527, allocations: 19.86 kB / 1.372 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5527, allocations: 3.938 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5527, allocations: 0 / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5527, allocations: 3.938 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.5531, allocations: 470.8 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5531, allocations: 3.938 kB / 1.372 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.5532, allocations: 4 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5532, allocations: 64 / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5532, allocations: 11.98 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5532, allocations: 0 / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5532, allocations: 3.984 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.5533, allocations: 87.58 kB / 1.372 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.5534, allocations: 89 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5534, allocations: 4.031 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.5534, allocations: 0 / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.5534, allocations: 4 kB / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.5534, allocations: 3.938 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001138/0.5536, allocations: 125.5 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5536, allocations: 0 / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001808/0.5538, allocations: 15.86 kB / 1.372 GB, free: 8.723 MB / 0.8698 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.0001429/0.5539, allocations: 99.03 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.554, allocations: 23.98 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.554, allocations: 0 / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.554, allocations: 11.94 kB / 1.372 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.5542, allocations: 4 kB / 1.372 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.5545, allocations: 182.8 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.5548, allocations: 0.6965 MB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.5548, allocations: 8.422 kB / 1.373 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.5549, allocations: 11.44 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5549, allocations: 0 / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of Templates: time 0.002469/0.5573, allocations: 419.9 kB / 1.374 GB, free: 7.203 MB / 0.8698 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