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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001062/0.001062, allocations: 187.9 kB / 0.4902 GB, free: 2.258 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.648/1.648, allocations: 223.2 MB / 0.7992 GB, free: 14.79 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.0008605/0.0008604, allocations: 102 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003926, allocations: 11.97 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3237, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.5319, allocations: 149.6 MB / 1.375 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5322, allocations: 63.97 kB / 1.375 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002972/0.5352, allocations: 1.079 MB / 1.376 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5353, allocations: 0 / 1.376 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.5353, allocations: 4 kB / 1.376 GB, free: 2.816 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.0004757/0.5358, allocations: 372 kB / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.5359, allocations: 8.781 kB / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.5359, allocations: 11.86 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.5362, allocations: 186.8 kB / 1.377 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.5362, allocations: 8 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.5362, allocations: 4 kB / 1.377 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.5364, allocations: 93.42 kB / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5364, allocations: 0 / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.5365, allocations: 8 kB / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.5365, allocations: 0 / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.5366, allocations: 39.92 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.5373, allocations: 448.5 kB / 1.378 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.5374, allocations: 41.34 kB / 1.378 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.5374, allocations: 3.938 kB / 1.378 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.5375, allocations: 34.55 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.5375, allocations: 0 / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002183/0.5377, allocations: 57.61 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.5378, allocations: 77.11 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.538, allocations: 147.2 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.538, allocations: 25.7 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.5381, allocations: 104 kB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-06/0.5381, allocations: 3.906 kB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5381, allocations: 0 / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5383, allocations: 327.1 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.5383, allocations: 8 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.5383, allocations: 21.7 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.5384, allocations: 11.95 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5384, allocations: 0 / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001051/0.5385, allocations: 57.55 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5385, allocations: 4 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5385, allocations: 8.141 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.5386, allocations: 7.984 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.5387, allocations: 4 kB / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5387, allocations: 0 / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.5387, allocations: 15.84 kB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.5387, allocations: 3.938 kB / 1.378 GB, free: 488 kB / 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 0.0001121/0.5389, allocations: 117.8 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.5389, allocations: 7.906 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.539, allocations: 11.86 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.539, allocations: 4 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.539, allocations: 0 / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.539, allocations: 0 / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.5395, allocations: 472.3 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5395, allocations: 0 / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.5395, allocations: 4 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5395, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5395, allocations: 8.062 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5395, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5396, allocations: 3.938 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.5397, allocations: 91.56 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.5398, allocations: 89 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5398, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.5398, allocations: 8.031 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.5398, allocations: 8 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5398, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001028/0.54, allocations: 125.2 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.54, allocations: 0 / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001888/0.5402, allocations: 11.95 kB / 1.379 GB, free: 15.42 MB / 0.8855 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.0001556/0.5403, allocations: 99.23 kB / 1.379 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.5404, allocations: 27.92 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5404, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.5404, allocations: 8 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.5406, allocations: 12.62 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.541, allocations: 182.7 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5414, allocations: 0.6965 MB / 1.38 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.5414, allocations: 8.422 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.5414, allocations: 11.44 kB / 1.38 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.5414, allocations: 0 / 1.38 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of Templates: time 0.002554/0.544, allocations: 415.9 kB / 1.381 GB, free: 13.9 MB / 0.8855 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