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.24/2.24, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001083/0.001083, allocations: 180 kB / 0.4902 GB, free: 2.227 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.502/1.502, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.0008795/0.0008791, allocations: 88.33 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 6.844 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.5277, allocations: 149.6 MB / 1.375 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.528, allocations: 67.95 kB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002606/0.5306, allocations: 1.079 MB / 1.376 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5306, allocations: 0 / 1.376 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5306, allocations: 4 kB / 1.376 GB, free: 2.777 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.0003976/0.531, allocations: 368.1 kB / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.5311, allocations: 8.031 kB / 1.377 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5311, allocations: 15.8 kB / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.5313, allocations: 178.9 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5314, allocations: 4 kB / 1.377 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5314, allocations: 8 kB / 1.377 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5316, allocations: 91.39 kB / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.5316, allocations: 0 / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5316, allocations: 7.984 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.5316, allocations: 4 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.399e-05/0.5317, allocations: 35.92 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.5323, allocations: 452.6 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.5324, allocations: 33.22 kB / 1.378 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5324, allocations: 7.984 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.5325, allocations: 34.56 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 6.342e-06/0.5325, allocations: 0 / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.5326, allocations: 53.61 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5327, allocations: 81.05 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.5329, allocations: 149 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5329, allocations: 25.95 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.533, allocations: 104 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.533, allocations: 19.75 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.533, allocations: 0 / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5331, allocations: 318.8 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.5332, allocations: 7.984 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.5332, allocations: 21.7 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.5332, allocations: 13.55 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5332, allocations: 8 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.059e-05/0.5333, allocations: 61.53 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5334, allocations: 5.406 kB / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5334, allocations: 4 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5334, allocations: 0 / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.5335, allocations: 4 kB / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5335, allocations: 0 / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.5335, allocations: 15.84 kB / 1.378 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.5335, allocations: 0 / 1.378 GB, free: 452 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 9.192e-05/0.5336, allocations: 122.7 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.5337, allocations: 7.906 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.5337, allocations: 15.86 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5337, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5337, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5337, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.5341, allocations: 470.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5341, allocations: 4 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.5342, allocations: 4 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5342, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.5342, allocations: 11.92 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5342, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5342, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.5343, allocations: 87.61 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.5344, allocations: 93 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.5344, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.5344, allocations: 0 / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.5344, allocations: 4 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.5344, allocations: 0 / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.742e-05/0.5345, allocations: 119.2 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5345, allocations: 0 / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001802/0.5347, allocations: 15.95 kB / 1.379 GB, free: 15.39 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.0001426/0.5349, allocations: 107.2 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.535, allocations: 19.98 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.535, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/0.535, allocations: 7.938 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.5352, allocations: 11.94 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.5356, allocations: 182.8 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.5359, allocations: 0.6965 MB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.536, allocations: 12.42 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.536, allocations: 11.44 kB / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.536, allocations: 0 / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.002426/0.5385, allocations: 411.9 kB / 1.381 GB, free: 13.87 MB / 0.8855 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