Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.851, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001179/0.8522, allocations: 0.5668 MB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.8524, allocations: 51.72 kB / 1.021 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.8525, allocations: 4 kB / 1.021 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.8525, allocations: 7.922 kB / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.8526, allocations: 7.938 kB / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.095e-05/0.8526, allocations: 15.98 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.8528, allocations: 43.95 kB / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.8529, allocations: 49.2 kB / 1.022 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.853, allocations: 23.84 kB / 1.022 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.853, allocations: 23.8 kB / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.8531, allocations: 4 kB / 1.022 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-06/0.8531, allocations: 4 kB / 1.022 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.8531, allocations: 8 kB / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.8531, allocations: 37.64 kB / 1.022 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.8532, allocations: 77.73 kB / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.8532, allocations: 0 / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.736e-06/0.8532, allocations: 0 / 1.022 GB, free: 180 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.8533, allocations: 3.938 kB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004435/0.8537, allocations: 383.2 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8538, allocations: 11.98 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.8538, allocations: 15.81 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.854, allocations: 197.4 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.854, allocations: 8.188 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.8541, allocations: 8 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.8542, allocations: 109.7 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8543, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.8543, allocations: 4 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8543, allocations: 4 kB / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.8544, allocations: 35.98 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.8549, allocations: 476.3 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.808e-05/0.855, allocations: 37.44 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.855, allocations: 0 / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.855, allocations: 46.39 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.855, allocations: 0 / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.8552, allocations: 53.61 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.8553, allocations: 81.11 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.8555, allocations: 174.7 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.8555, allocations: 29.7 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.8556, allocations: 120.1 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.8556, allocations: 7.906 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.8556, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8557, allocations: 322.8 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.8557, allocations: 4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.8558, allocations: 21.7 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.8558, allocations: 8 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8558, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.659e-05/0.8559, allocations: 61.53 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8559, allocations: 7.953 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.8559, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.8559, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.856, allocations: 8 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.856, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.856, allocations: 11.84 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.856, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 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.084e-05/0.8561, allocations: 121.9 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.8562, allocations: 7.906 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.8562, allocations: 16.5 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8562, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8562, allocations: 7.938 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8562, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.8566, allocations: 470.9 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8566, allocations: 7.984 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.8566, allocations: 11.94 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8567, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.8567, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8567, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8567, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/0.8568, allocations: 95.47 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.8568, allocations: 93.05 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.8569, allocations: 11.97 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.8569, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.8569, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.8569, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001188/0.857, allocations: 144.2 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8571, allocations: 0 / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001819/0.8572, allocations: 8 kB / 1.025 GB, free: 12.62 MB / 0.7794 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.0001539/0.8574, allocations: 103.3 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.8575, allocations: 16 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8575, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.8575, allocations: 7.938 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.8576, allocations: 16.08 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.858, allocations: 212.8 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.8584, allocations: 0.7043 MB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.8584, allocations: 8.547 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.8584, allocations: 15.44 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8584, allocations: 0 / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002587/0.861, allocations: 463.8 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches