Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001135/0.001135, allocations: 184.6 kB / 487.4 MB, free: 5.047 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.685/1.685, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.0009351, allocations: 87.8 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.502e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.397, allocations: 148.1 MB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.398, allocations: 64.16 kB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003166/1.401, allocations: 1.084 MB / 1.352 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.983e-06/1.401, allocations: 0.7031 kB / 1.352 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.401, allocations: 0 / 1.352 GB, free: 34.02 MB / 0.8386 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.0002736/1.401, allocations: 357.3 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.401, allocations: 11.53 kB / 1.352 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/1.401, allocations: 12.34 kB / 1.352 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.401, allocations: 175.6 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.401, allocations: 12.48 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/1.401, allocations: 4.906 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.277e-05/1.401, allocations: 32.23 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/1.402, allocations: 77.31 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.402, allocations: 3.984 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.402, allocations: 0 / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.402, allocations: 3.969 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/1.402, allocations: 411 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/1.402, allocations: 41.53 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/1.402, allocations: 14.36 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/1.402, allocations: 3.75 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/1.402, allocations: 38.44 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.402, allocations: 0 / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001574/1.402, allocations: 38.92 kB / 1.353 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.402, allocations: 81.92 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.403, allocations: 117.9 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/1.403, allocations: 27.23 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/1.403, allocations: 107 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/1.403, allocations: 4.609 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.403, allocations: 0 / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.403, allocations: 319.7 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/1.403, allocations: 10.88 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/1.403, allocations: 19.98 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.148e-05/1.403, allocations: 7.391 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.403, allocations: 1.312 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.049e-05/1.403, allocations: 54.7 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.403, allocations: 4.484 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.403, allocations: 3.656 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.403, allocations: 2.047 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/1.403, allocations: 13.98 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.403, allocations: 2.766 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/1.403, allocations: 5.219 kB / 1.354 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/1.403, allocations: 1.344 kB / 1.354 GB, free: 32.19 MB / 0.8386 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 6.545e-05/1.403, allocations: 107.2 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/1.403, allocations: 10.52 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/1.403, allocations: 6.594 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.403, allocations: 1.828 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.403, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/1.403, allocations: 6 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/1.404, allocations: 446.8 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.404, allocations: 5.219 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/1.404, allocations: 3.422 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.404, allocations: 1.344 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/1.404, allocations: 224 / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.404, allocations: 2.016 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.404, allocations: 9.344 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.116e-05/1.404, allocations: 85.89 kB / 1.354 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/1.404, allocations: 87.3 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/1.404, allocations: 0.8438 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/1.404, allocations: 1.312 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/1.404, allocations: 6.031 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/1.404, allocations: 1.312 kB / 1.354 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.465e-05/1.404, allocations: 99.42 kB / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.404, allocations: 0 / 1.354 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001854/1.404, allocations: 11.84 kB / 1.354 GB, free: 31.35 MB / 0.8386 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.0001204/1.404, allocations: 97.45 kB / 1.355 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.75e-05/1.404, allocations: 14.09 kB / 1.355 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.404, allocations: 0 / 1.355 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/1.404, allocations: 12.59 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/1.405, allocations: 5.234 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/1.405, allocations: 102.2 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.405, allocations: 0.6965 MB / 1.355 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.255e-05/1.405, allocations: 9.469 kB / 1.355 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/1.405, allocations: 11.38 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.405, allocations: 0 / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.002124/1.407, allocations: 298.4 kB / 1.356 GB, free: 30.39 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches