Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001224/0.001224, allocations: 180.1 kB / 498.1 MB, free: 5.734 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.789/1.789, allocations: 223.2 MB / 0.7948 GB, free: 18.73 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.0009835/0.0009836, allocations: 111.9 kB / 0.9346 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004065, allocations: 15.75 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 142.3 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.5258, allocations: 148.8 MB / 1.368 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.526, allocations: 63.95 kB / 1.368 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002467/0.5285, allocations: 1.091 MB / 1.369 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5285, allocations: 0 / 1.369 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.5285, allocations: 4 kB / 1.369 GB, free: 3.387 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.0003685/0.5289, allocations: 367 kB / 1.37 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.529, allocations: 8.031 kB / 1.37 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.529, allocations: 19.78 kB / 1.37 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.5292, allocations: 182.9 kB / 1.37 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5292, allocations: 4 kB / 1.37 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5292, allocations: 12 kB / 1.37 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.5294, allocations: 88.38 kB / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5294, allocations: 0 / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5294, allocations: 7.938 kB / 1.37 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5295, allocations: 4 kB / 1.37 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.5295, allocations: 39.92 kB / 1.37 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.5301, allocations: 448.5 kB / 1.37 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.831e-05/0.5302, allocations: 45.33 kB / 1.37 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.5302, allocations: 0 / 1.37 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.5302, allocations: 34.56 kB / 1.371 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5302, allocations: 0 / 1.371 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/0.5304, allocations: 53.61 kB / 1.371 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.5305, allocations: 81.36 kB / 1.371 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5306, allocations: 147.6 kB / 1.371 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5306, allocations: 25.7 kB / 1.371 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.5307, allocations: 107.9 kB / 1.371 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/0.5307, allocations: 11.91 kB / 1.371 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.5307, allocations: 0 / 1.371 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5309, allocations: 314.8 kB / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.5309, allocations: 7.984 kB / 1.371 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.5309, allocations: 21.72 kB / 1.371 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.531, allocations: 15.95 kB / 1.371 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.531, allocations: 0 / 1.371 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.571e-05/0.5311, allocations: 65.53 kB / 1.371 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5311, allocations: 4 kB / 1.371 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5311, allocations: 4 kB / 1.371 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5311, allocations: 0 / 1.371 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.5312, allocations: 4 kB / 1.371 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5312, allocations: 4.062 kB / 1.371 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.5312, allocations: 11.84 kB / 1.371 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.5313, allocations: 0 / 1.371 GB, free: 1.055 MB / 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 9.261e-05/0.5314, allocations: 117.8 kB / 1.371 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.5314, allocations: 11.89 kB / 1.371 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.5314, allocations: 11.88 kB / 1.372 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5314, allocations: 0 / 1.372 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5314, allocations: 0 / 1.372 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5315, allocations: 4 kB / 1.372 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.5319, allocations: 470.7 kB / 1.372 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5319, allocations: 7.938 kB / 1.372 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.5319, allocations: 3.984 kB / 1.372 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5319, allocations: 4 kB / 1.372 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.5319, allocations: 4 kB / 1.372 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.5319, allocations: 0 / 1.372 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5319, allocations: 3.938 kB / 1.372 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.532, allocations: 87.64 kB / 1.372 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.5321, allocations: 93 kB / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.5321, allocations: 0 / 1.372 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.5322, allocations: 4 kB / 1.372 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.5322, allocations: 0 / 1.372 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.5322, allocations: 4.031 kB / 1.372 GB, free: 128 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001077/0.5323, allocations: 120.9 kB / 1.372 GB, free: 8 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5323, allocations: 0 / 1.372 GB, free: 8 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001919/0.5325, allocations: 19.91 kB / 1.372 GB, free: 15.98 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.0001203/0.5326, allocations: 103 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.5327, allocations: 19.94 kB / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5327, allocations: 0 / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.5327, allocations: 8.125 kB / 1.372 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.5329, allocations: 8 kB / 1.372 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.5332, allocations: 192.6 kB / 1.373 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.5335, allocations: 0.6975 MB / 1.373 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.5336, allocations: 8.422 kB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.5336, allocations: 11.44 kB / 1.373 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5336, allocations: 0 / 1.373 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of Templates: time 0.002404/0.536, allocations: 429 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches