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.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 173.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.0008927/0.0008927, allocations: 88.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2673, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.452, allocations: 131.4 MB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4523, allocations: 63.97 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002844/0.4551, allocations: 1.232 MB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4552, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4552, allocations: 224 / 1.03 GB, free: 11.02 MB / 0.6823 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.0003838/0.4556, allocations: 382.8 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4556, allocations: 15.97 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.4557, allocations: 7.906 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.4558, allocations: 199.4 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.4559, allocations: 11.94 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.4559, allocations: 4 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.4561, allocations: 87.39 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4561, allocations: 7.984 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4561, allocations: 4 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4561, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/0.4562, allocations: 43.92 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.4568, allocations: 460.7 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.4569, allocations: 49.14 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.4569, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.457, allocations: 30.56 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.457, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.4571, allocations: 57.61 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.4572, allocations: 85.36 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.4574, allocations: 163.1 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4574, allocations: 25.7 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.4575, allocations: 111.9 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.4575, allocations: 15.83 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.4575, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4576, allocations: 314.8 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.4576, allocations: 11.98 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.4577, allocations: 25.72 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.4577, allocations: 8 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4577, allocations: 3.953 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.646e-05/0.4578, allocations: 69.53 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4578, allocations: 4 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4579, allocations: 0 / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4579, allocations: 0 / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.458, allocations: 12 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.458, allocations: 4.062 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.458, allocations: 4.578 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.458, allocations: 4 kB / 1.032 GB, free: 8.598 MB / 0.6823 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 8.591e-05/0.4581, allocations: 116.2 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.4582, allocations: 15.8 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.4582, allocations: 16.55 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4582, allocations: 0 / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4582, allocations: 0 / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4583, allocations: 4 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.4586, allocations: 486.9 kB / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4587, allocations: 0 / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.4587, allocations: 11.92 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4587, allocations: 0 / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.4587, allocations: 0 / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4587, allocations: 11.92 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4587, allocations: 0 / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.462e-05/0.4588, allocations: 99.55 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.4589, allocations: 89 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4589, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.4589, allocations: 4 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.459, allocations: 4 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.459, allocations: 4.031 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001003/0.4591, allocations: 139.5 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4591, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001726/0.4593, allocations: 8 kB / 1.033 GB, free: 7.492 MB / 0.6823 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.0001332/0.4594, allocations: 107.1 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.4595, allocations: 20 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4595, allocations: 0 / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.4595, allocations: 12.11 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.4596, allocations: 8.188 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.46, allocations: 220.5 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4603, allocations: 0.7004 MB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.4604, allocations: 8.422 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.4604, allocations: 11.44 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/0.4604, allocations: 4 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.002478/0.4629, allocations: 461.4 kB / 1.034 GB, free: 5.891 MB / 0.6823 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