Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.513/2.513, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001329/0.001329, allocations: 184 kB / 0.4902 GB, free: 2.266 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.534/1.534, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009793/0.0009793, allocations: 104.3 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004726, allocations: 15.41 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3231, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.5079, allocations: 149.6 MB / 1.375 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5082, allocations: 67.97 kB / 1.375 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002784/0.511, allocations: 1.079 MB / 1.376 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.895e-06/0.511, allocations: 224 / 1.376 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.511, allocations: 0 / 1.376 GB, free: 2.754 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.0004178/0.5115, allocations: 373 kB / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5115, allocations: 8.031 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.5116, allocations: 19.86 kB / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.5118, allocations: 174.9 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5118, allocations: 4 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.5118, allocations: 12 kB / 1.377 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.512, allocations: 91.38 kB / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.512, allocations: 0 / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.512, allocations: 7.938 kB / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5121, allocations: 0 / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.5122, allocations: 39.92 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.5128, allocations: 456.5 kB / 1.378 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/0.5129, allocations: 37.16 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5129, allocations: 4.125 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.513, allocations: 38.59 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.513, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.5132, allocations: 45.61 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.5133, allocations: 85.03 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5134, allocations: 142.2 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5135, allocations: 33.95 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.5135, allocations: 104 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.5136, allocations: 7.844 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.5136, allocations: 0 / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5137, allocations: 322.8 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.5138, allocations: 4 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.5138, allocations: 21.7 kB / 1.378 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.5139, allocations: 17.55 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5139, allocations: 0 / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.514, allocations: 65.53 kB / 1.378 GB, free: 452 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.514, allocations: 4 kB / 1.378 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.514, allocations: 0 / 1.378 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.514, allocations: 0 / 1.378 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.5141, allocations: 11.94 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5141, allocations: 0 / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.5142, allocations: 3.906 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.5142, allocations: 8.047 kB / 1.378 GB, free: 424 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.0001008/0.5143, allocations: 126.6 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.5143, allocations: 7.906 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.5144, allocations: 11.88 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5144, allocations: 4 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5144, allocations: 0 / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5144, allocations: 0 / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.5149, allocations: 478.8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5149, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.5149, allocations: 7.938 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.5149, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.5149, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5149, allocations: 0 / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5149, allocations: 4 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.5151, allocations: 95.62 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.5152, allocations: 88.95 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.5152, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.5152, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.5152, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5152, allocations: 7.984 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000101/0.5153, allocations: 121.7 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.463e-06/0.5154, allocations: 0 / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001923/0.5156, allocations: 15.92 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.0001572/0.5157, allocations: 107.2 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.5158, allocations: 12 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5158, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.255e-05/0.5158, allocations: 7.938 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.0001242/0.516, allocations: 8 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.5164, allocations: 196.7 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5167, allocations: 0.7004 MB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.5168, allocations: 8.422 kB / 1.38 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.5168, allocations: 11.44 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.5168, allocations: 0 / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.002697/0.5195, allocations: 411.8 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches