Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 180.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 92.36 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.079e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7282/0.9611, allocations: 131.3 MB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.9614, allocations: 69.83 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002942/0.9644, allocations: 1.244 MB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9644, allocations: 0 / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.9644, allocations: 0 / 1.021 GB, free: 2.238 MB / 0.6355 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.0003298/0.9647, allocations: 368.4 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.9648, allocations: 12.03 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.9648, allocations: 11.81 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.965, allocations: 179 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.965, allocations: 7.25 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.9651, allocations: 7.938 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.9652, allocations: 97.48 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.9652, allocations: 0 / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9653, allocations: 0 / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9653, allocations: 4 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.9654, allocations: 41.31 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.9659, allocations: 470.3 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.966, allocations: 47.28 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.9661, allocations: 20.39 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.9661, allocations: 0 / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.9661, allocations: 34.56 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.9661, allocations: 0 / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001577/0.9663, allocations: 56.75 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.9663, allocations: 77.11 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.9665, allocations: 159.5 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.9665, allocations: 25.7 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.9666, allocations: 111.4 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.9666, allocations: 7.891 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.9666, allocations: 3.688 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9667, allocations: 318.7 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.9667, allocations: 11.09 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.9668, allocations: 25.58 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.9668, allocations: 15.83 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9668, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.891e-05/0.9669, allocations: 61.84 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.9669, allocations: 9.406 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9669, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.9669, allocations: 4.062 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.967, allocations: 7.938 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.9671, allocations: 4.047 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.9671, allocations: 7.844 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.9671, allocations: 4 kB / 1.023 GB, free: 15.98 MB / 0.6511 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 5.66e-05/0.9672, allocations: 108.1 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.9673, allocations: 8.125 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.9673, allocations: 23.02 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9673, allocations: 3.938 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9673, allocations: 8 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9673, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.9677, allocations: 484.5 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9677, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.9677, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9677, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.9677, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.9678, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9678, allocations: 8.062 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.48e-05/0.9679, allocations: 94.88 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.9679, allocations: 96.19 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.968, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.968, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.968, allocations: 4.031 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.968, allocations: 3.812 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001078/0.9681, allocations: 133.6 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9681, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000166/0.9683, allocations: 19.73 kB / 1.024 GB, free: 14.95 MB / 0.6511 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/0.9684, allocations: 99.33 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.9685, allocations: 19.75 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9685, allocations: 4.125 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.355e-05/0.9686, allocations: 11.31 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.9687, allocations: 3 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.9689, allocations: 113.5 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.9692, allocations: 0.7045 MB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.9692, allocations: 12.36 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.9692, allocations: 11.44 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/0.9692, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of Templates: time 0.002246/0.9715, allocations: 485.6 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches