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.511/2.511, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001431/0.001431, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.912/1.912, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.001066/0.001066, allocations: 95.95 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.596e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3036, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8239/1.128, allocations: 149.6 MB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.128, allocations: 68.8 kB / 1.365 GB, free: 4.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002748/1.131, allocations: 1.09 MB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/1.131, allocations: 0 / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.131, allocations: 8 kB / 1.366 GB, free: 3.457 MB / 0.823 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.0003174/1.131, allocations: 353.7 kB / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.131, allocations: 8.031 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/1.131, allocations: 11.86 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.131, allocations: 178.9 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/1.131, allocations: 11.69 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/1.131, allocations: 8 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/1.132, allocations: 89 kB / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/1.132, allocations: 0 / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.132, allocations: 7.438 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.132, allocations: 0 / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/1.132, allocations: 42.55 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/1.132, allocations: 442.9 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.342e-05/1.132, allocations: 42.84 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/1.132, allocations: 25.72 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/1.132, allocations: 0 / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/1.132, allocations: 34.55 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.132, allocations: 0 / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/1.133, allocations: 52.86 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.133, allocations: 77.11 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.133, allocations: 142.7 kB / 1.367 GB, free: 1.852 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.133, allocations: 33.45 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/1.133, allocations: 103.2 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/1.133, allocations: 3.906 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/1.133, allocations: 3.875 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.133, allocations: 322.8 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/1.133, allocations: 7.438 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/1.133, allocations: 21.47 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/1.133, allocations: 19.61 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.133, allocations: 0 / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.376e-05/1.133, allocations: 50.11 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.133, allocations: 8 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.133, allocations: 0 / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.133, allocations: 0 / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/1.133, allocations: 18.55 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.133, allocations: 4 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/1.133, allocations: 7.906 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/1.133, allocations: 8 kB / 1.368 GB, free: 1.258 MB / 0.823 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 6.289e-05/1.134, allocations: 105.2 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/1.134, allocations: 11.98 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/1.134, allocations: 14.22 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/1.134, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.134, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.134, allocations: 3.984 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/1.134, allocations: 473.2 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.134, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/1.134, allocations: 4 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.134, allocations: 0 / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.134, allocations: 4 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.134, allocations: 0 / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.134, allocations: 0 / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.63e-05/1.134, allocations: 97.88 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/1.134, allocations: 88.02 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/1.134, allocations: 3.984 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/1.134, allocations: 0 / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/1.134, allocations: 4 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/1.134, allocations: 0 / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.082e-05/1.134, allocations: 127.6 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.134, allocations: 4.031 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001858/1.135, allocations: 4 kB / 1.369 GB, free: 268 kB / 0.823 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.0001277/1.135, allocations: 103.2 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/1.135, allocations: 19.31 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.135, allocations: 0 / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/1.135, allocations: 8 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/1.135, allocations: 4.812 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/1.135, allocations: 109.6 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.136, allocations: 0.6927 MB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.202e-05/1.136, allocations: 12.38 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/1.136, allocations: 7.438 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/1.136, allocations: 7.938 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.002389/1.138, allocations: 428.2 kB / 1.37 GB, free: 14.84 MB / 0.8386 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