Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 393.5 MB / 408.5 MB, free: 11.02 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.001562/0.001562, allocations: 191.9 kB / 0.4902 GB, free: 2.215 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.591/1.591, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001113/0.001113, allocations: 96.28 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 14.81 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.4788, allocations: 149.6 MB / 1.375 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.4791, allocations: 67.95 kB / 1.375 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002879/0.482, allocations: 1.079 MB / 1.376 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4821, allocations: 4 kB / 1.376 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4821, allocations: 4 kB / 1.376 GB, free: 2.734 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.0003879/0.4825, allocations: 367.9 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4825, allocations: 8.25 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.4826, allocations: 11.86 kB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4827, allocations: 178.8 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4828, allocations: 8 kB / 1.377 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4828, allocations: 12 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.483, allocations: 92.78 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.483, allocations: 0 / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.483, allocations: 4 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.483, allocations: 4 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.4831, allocations: 39.92 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.4838, allocations: 452.5 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.4838, allocations: 37.34 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.4839, allocations: 0 / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4839, allocations: 38.56 kB / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4839, allocations: 0 / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002205/0.4841, allocations: 53.61 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4842, allocations: 81.09 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4844, allocations: 146.8 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4844, allocations: 25.7 kB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.4845, allocations: 104.2 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.4845, allocations: 15.84 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4845, allocations: 4 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4846, allocations: 318.8 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.4847, allocations: 4 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.4847, allocations: 17.72 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.4847, allocations: 17.55 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4847, allocations: 0 / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000108/0.4849, allocations: 65.53 kB / 1.378 GB, free: 440 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4849, allocations: 4 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4849, allocations: 4 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4849, allocations: 0 / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.485, allocations: 4 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.485, allocations: 0 / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.4851, allocations: 7.906 kB / 1.378 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.4851, allocations: 3.938 kB / 1.378 GB, free: 416 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.0001111/0.4852, allocations: 126.6 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.4852, allocations: 7.906 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.4853, allocations: 11.88 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4853, allocations: 96 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4853, allocations: 3.984 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4853, allocations: 4 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.4858, allocations: 466.8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4858, allocations: 8.062 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.4858, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4858, allocations: 4 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4858, allocations: 4 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4859, allocations: 3.938 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4859, allocations: 4 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.486, allocations: 91.56 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.486, allocations: 89.02 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.4861, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.4861, allocations: 4 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.4861, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.4861, allocations: 3.984 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.956e-05/0.4862, allocations: 117.7 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4862, allocations: 0 / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001857/0.4864, allocations: 15.95 kB / 1.379 GB, free: 15.35 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.0001405/0.4866, allocations: 107.2 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.4866, allocations: 19.94 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4867, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.4867, allocations: 4 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.4868, allocations: 11.94 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.4872, allocations: 196.6 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.4875, allocations: 0.6965 MB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.4875, allocations: 12.42 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.4876, allocations: 11.44 kB / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.4876, allocations: 0 / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of Templates: time 0.002395/0.49, allocations: 418.9 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches