Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.009401/0.009401, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001807/0.001807, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4673, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002302/0.4697, allocations: 0.8822 MB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.4698, allocations: 55.72 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.4699, allocations: 0 / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.47, allocations: 7.875 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.943e-05/0.4701, allocations: 23.84 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.609e-05/0.4702, allocations: 23.98 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.4703, allocations: 79.77 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.4705, allocations: 49.11 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.4706, allocations: 31.8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.4706, allocations: 43.72 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.4707, allocations: 8 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.552e-05/0.4707, allocations: 8 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.4707, allocations: 19.92 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.4708, allocations: 39.73 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.471, allocations: 103.4 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.471, allocations: 0 / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.075e-06/0.471, allocations: 0 / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.471, allocations: 0 / 1.168 GB, free: 5.414 MB / 0.92 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.0005368/0.4715, allocations: 403.2 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4716, allocations: 8.031 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.4716, allocations: 16.84 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.4719, allocations: 204.4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4719, allocations: 12.56 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.472, allocations: 8.375 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.4722, allocations: 113.7 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4722, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4722, allocations: 4 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4722, allocations: 4 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.4723, allocations: 39.98 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.4729, allocations: 472.4 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.227e-05/0.473, allocations: 41.22 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.4731, allocations: 17.78 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.4731, allocations: 7.875 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4731, allocations: 34.56 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4731, allocations: 0 / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001975/0.4733, allocations: 61.53 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4734, allocations: 81.11 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4736, allocations: 174.7 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4736, allocations: 25.7 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.4737, allocations: 120 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.4737, allocations: 3.953 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.4737, allocations: 17.72 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4739, allocations: 331 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.4739, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.474, allocations: 21.72 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.474, allocations: 29.64 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.474, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.457e-05/0.4741, allocations: 61.61 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4741, allocations: 8.062 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4741, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4742, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.881e-05/0.4742, allocations: 15.92 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4742, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.4743, allocations: 7.875 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.4743, allocations: 4 kB / 1.17 GB, free: 2.848 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.4744, allocations: 117.3 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4744, allocations: 12.12 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.4745, allocations: 20.55 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4745, allocations: 3.938 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4745, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4745, allocations: 7.938 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.4749, allocations: 470.8 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4749, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.4749, allocations: 7.984 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4749, allocations: 160 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.475, allocations: 15.94 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.475, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.475, allocations: 3.984 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.4751, allocations: 77.84 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.4751, allocations: 89.05 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4752, allocations: 15.94 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.4752, allocations: 4.031 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.4752, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.4752, allocations: 3.984 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001128/0.4753, allocations: 139.2 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4753, allocations: 0 / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001869/0.4755, allocations: 8 kB / 1.171 GB, free: 1.762 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.4757, allocations: 99.25 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.4758, allocations: 23.92 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4758, allocations: 0 / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.4758, allocations: 8 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.476, allocations: 9.875 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.4764, allocations: 190.5 kB / 1.171 GB, free: 1.398 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.4767, allocations: 0.7043 MB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.4767, allocations: 4.562 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.4768, allocations: 11.44 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.4768, allocations: 0 / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of Templates: time 0.002851/0.4796, allocations: 0.5083 MB / 1.173 GB, free: 148 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches