Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.427/2.427, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001193/0.001193, allocations: 174.7 kB / 0.4902 GB, free: 2.223 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.584/1.584, allocations: 223.1 MB / 0.7992 GB, free: 15.59 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.0009514/0.0009514, allocations: 112 kB / 0.9396 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004298, allocations: 9.375 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2739, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.4644, allocations: 149.6 MB / 1.375 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.4646, allocations: 63.95 kB / 1.375 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.00236/0.4669, allocations: 1.103 MB / 1.376 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.172e-06/0.467, allocations: 0 / 1.376 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.467, allocations: 0 / 1.376 GB, free: 14.5 MB / 0.8855 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.0003258/0.4673, allocations: 361.3 kB / 1.377 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4674, allocations: 8.031 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.4674, allocations: 19.8 kB / 1.377 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4676, allocations: 182.8 kB / 1.377 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4676, allocations: 8 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.4676, allocations: 8 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4678, allocations: 88.48 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4678, allocations: 0 / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4678, allocations: 4 kB / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4678, allocations: 0 / 1.377 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.4679, allocations: 39.92 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.4685, allocations: 448.7 kB / 1.378 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.4685, allocations: 41.09 kB / 1.378 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.4686, allocations: 3.938 kB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4686, allocations: 38.69 kB / 1.378 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4686, allocations: 0 / 1.378 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001648/0.4688, allocations: 53.53 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.4688, allocations: 81.3 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.469, allocations: 149.1 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.469, allocations: 25.7 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.4691, allocations: 112 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.4691, allocations: 7.891 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.4691, allocations: 0 / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4693, allocations: 322.8 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.4693, allocations: 4 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.4693, allocations: 21.7 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.4694, allocations: 15.95 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4694, allocations: 0 / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.4695, allocations: 61.55 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4695, allocations: 4 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4695, allocations: 0 / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4695, allocations: 0 / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/0.4696, allocations: 11.98 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4696, allocations: 0 / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.4697, allocations: 15.84 kB / 1.378 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4697, allocations: 4 kB / 1.378 GB, free: 12.16 MB / 0.8855 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 9.768e-05/0.4698, allocations: 118.6 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.4698, allocations: 7.906 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.4699, allocations: 11.86 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4699, allocations: 8.078 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4699, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4699, allocations: 0 / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.4704, allocations: 474.8 kB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4704, allocations: 0 / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.4704, allocations: 4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4704, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4705, allocations: 0 / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4705, allocations: 3.938 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4705, allocations: 4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.4706, allocations: 91.62 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/0.4707, allocations: 93 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.4707, allocations: 4 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.4707, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.4707, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4708, allocations: 4 kB / 1.379 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001074/0.4709, allocations: 127.2 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4709, allocations: 4 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001934/0.4711, allocations: 7.953 kB / 1.379 GB, free: 11.11 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.000184/0.4713, allocations: 103.2 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.4714, allocations: 12 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4714, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.4714, allocations: 7.984 kB / 1.38 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.4715, allocations: 16.19 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.472, allocations: 182.5 kB / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.4724, allocations: 0.7004 MB / 1.38 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.4724, allocations: 8.422 kB / 1.38 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.4724, allocations: 11.44 kB / 1.38 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.4724, allocations: 0 / 1.38 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of Templates: time 0.002558/0.475, allocations: 411.8 kB / 1.381 GB, free: 9.594 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches