Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.2/2.2, 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.001/0.001, allocations: 184.8 kB / 496.1 MB, free: 12.87 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.571/1.571, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009782/0.0009782, allocations: 91.94 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.402e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3328, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.448, allocations: 149.6 MB / 1.365 GB, free: 4.473 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.448, allocations: 65.67 kB / 1.365 GB, free: 4.438 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002774/1.451, allocations: 1.094 MB / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.894e-06/1.451, allocations: 0 / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.451, allocations: 0 / 1.366 GB, free: 3.473 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.0003721/1.451, allocations: 353.8 kB / 1.366 GB, free: 3.09 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.452, allocations: 8.031 kB / 1.366 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/1.452, allocations: 11.86 kB / 1.366 GB, free: 3.07 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/1.452, allocations: 178.9 kB / 1.366 GB, free: 2.855 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/1.452, allocations: 11.94 kB / 1.366 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/1.452, allocations: 7.188 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.452, allocations: 90.86 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.452, allocations: 0 / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.452, allocations: 3.25 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/1.452, allocations: 4 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/1.452, allocations: 36.31 kB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/1.453, allocations: 451 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/1.453, allocations: 42.72 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/1.453, allocations: 20.97 kB / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/1.453, allocations: 0 / 1.367 GB, free: 2.191 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/1.453, allocations: 38.55 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.453, allocations: 0 / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.00018/1.453, allocations: 44.36 kB / 1.367 GB, free: 2.098 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.453, allocations: 85.17 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.454, allocations: 141.1 kB / 1.367 GB, free: 1.867 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/1.454, allocations: 25.7 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/1.454, allocations: 112.6 kB / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-06/1.454, allocations: 3.906 kB / 1.368 GB, free: 1.727 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.454, allocations: 0 / 1.368 GB, free: 1.727 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.454, allocations: 324.5 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/1.454, allocations: 11.94 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/1.454, allocations: 27.53 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/1.454, allocations: 7.984 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.454, allocations: 0 / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001062/1.454, allocations: 60.05 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.454, allocations: 4 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.454, allocations: 0 / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.454, allocations: 4 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/1.454, allocations: 15.98 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.454, allocations: 0 / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/1.454, allocations: 11.84 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/1.454, allocations: 3.984 kB / 1.368 GB, free: 1.266 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 7.739e-05/1.454, allocations: 105.2 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/1.454, allocations: 7.906 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/1.454, allocations: 14.91 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/1.454, allocations: 0.875 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.454, allocations: 4 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.454, allocations: 4 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/1.455, allocations: 472.2 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.455, allocations: 0 / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/1.455, allocations: 4 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/1.455, allocations: 4 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.455, allocations: 3.188 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.455, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.455, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.802e-05/1.455, allocations: 100.9 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/1.455, allocations: 81.02 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.455, allocations: 4 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/1.455, allocations: 7.109 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/1.455, allocations: 32 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/1.455, allocations: 4 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.653e-05/1.455, allocations: 127.5 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/1.455, allocations: 0 / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001674/1.455, allocations: 8 kB / 1.369 GB, free: 272 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.0001455/1.456, allocations: 95.25 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.008e-05/1.456, allocations: 22 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.456, allocations: 0 / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/1.456, allocations: 8.125 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/1.456, allocations: 7.75 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/1.456, allocations: 101 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/1.456, allocations: 0.7004 MB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.562e-05/1.457, allocations: 12.5 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/1.457, allocations: 15.38 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.457, allocations: 0 / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.002477/1.459, allocations: 425.2 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches