Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.323/2.323, 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.001158/0.001159, allocations: 173.5 kB / 498.1 MB, free: 5.75 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.573/1.573, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.0009911/0.0009912, allocations: 96.31 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4657, allocations: 148.8 MB / 1.368 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4659, allocations: 63.97 kB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002435/0.4684, allocations: 1.084 MB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4684, allocations: 0 / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4684, allocations: 4 kB / 1.369 GB, free: 12.16 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.0003397/0.4688, allocations: 369.8 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4688, allocations: 8.031 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.4688, allocations: 11.86 kB / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.469, allocations: 182.8 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.469, allocations: 4 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.469, allocations: 12 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4692, allocations: 88.33 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4692, allocations: 0 / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4692, allocations: 0 / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4692, allocations: 4 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.4693, allocations: 39.92 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.4699, allocations: 452.5 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.47, allocations: 45.34 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.47, allocations: 0 / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.47, allocations: 30.56 kB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.47, allocations: 0 / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.4702, allocations: 57.59 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.4703, allocations: 77.36 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4704, allocations: 147.4 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.4704, allocations: 25.7 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.4705, allocations: 108 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.4705, allocations: 3.906 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.4705, allocations: 4.219 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4706, allocations: 318.8 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.4707, allocations: 15.88 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.4707, allocations: 21.7 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.4707, allocations: 15.95 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4707, allocations: 0 / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.939e-05/0.4708, allocations: 57.55 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4708, allocations: 4 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4708, allocations: 4 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4709, allocations: 3.938 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.4709, allocations: 7.984 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4709, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.471, allocations: 11.97 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.471, allocations: 0 / 1.371 GB, free: 9.836 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.852e-05/0.4711, allocations: 117.8 kB / 1.371 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.4711, allocations: 11.98 kB / 1.371 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.4712, allocations: 15.86 kB / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4712, allocations: 0 / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4712, allocations: 0 / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4712, allocations: 4 kB / 1.372 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.4716, allocations: 474.7 kB / 1.372 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4716, allocations: 8 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.4716, allocations: 0 / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4716, allocations: 4 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4717, allocations: 0 / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4717, allocations: 0 / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4717, allocations: 0 / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.496e-05/0.4718, allocations: 99.56 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.4718, allocations: 89 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4718, allocations: 0 / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.4719, allocations: 4 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.4719, allocations: 0 / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.4719, allocations: 0 / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.569e-05/0.472, allocations: 129.3 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.472, allocations: 0 / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001755/0.4722, allocations: 15.86 kB / 1.372 GB, free: 8.766 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.0001071/0.4723, allocations: 99.03 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.4724, allocations: 19.94 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4724, allocations: 3.938 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.4724, allocations: 11.98 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.4725, allocations: 9.969 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.4729, allocations: 178.5 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.4731, allocations: 0.7014 MB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.4732, allocations: 8.422 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.4732, allocations: 11.44 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/0.4732, allocations: 0 / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of Templates: time 0.002494/0.4757, allocations: 419.8 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches