Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 217.6 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 65.53 kB / 1.118 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3659, allocations: 169.9 MB / 1.284 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002238/0.3682, allocations: 0.8374 MB / 1.285 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.3683, allocations: 55.72 kB / 1.285 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.3684, allocations: 4 kB / 1.285 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.3684, allocations: 7.875 kB / 1.285 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.3685, allocations: 11.86 kB / 1.285 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.826e-05/0.3686, allocations: 19.98 kB / 1.285 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3687, allocations: 87.77 kB / 1.285 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3688, allocations: 33.28 kB / 1.285 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.3689, allocations: 35.73 kB / 1.285 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.369, allocations: 35.78 kB / 1.285 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.369, allocations: 8 kB / 1.285 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.369, allocations: 8 kB / 1.285 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.369, allocations: 19.92 kB / 1.285 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.3691, allocations: 31.81 kB / 1.285 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.3692, allocations: 111.4 kB / 1.285 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3692, allocations: 0 / 1.285 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3692, allocations: 0 / 1.285 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3693, allocations: 0 / 1.285 GB, free: 2.34 MB / 0.9825 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.0005212/0.3698, allocations: 326 kB / 1.285 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3698, allocations: 12.03 kB / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3699, allocations: 8.891 kB / 1.285 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.3701, allocations: 138.5 kB / 1.286 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3701, allocations: 12.5 kB / 1.286 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3701, allocations: 20.31 kB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3703, allocations: 103.5 kB / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3703, allocations: 0 / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3703, allocations: 4 kB / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3703, allocations: 4 kB / 1.286 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.3704, allocations: 39.92 kB / 1.286 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.371, allocations: 380.2 kB / 1.286 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.3711, allocations: 37.16 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.3711, allocations: 21.78 kB / 1.286 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.3711, allocations: 4 kB / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3711, allocations: 38.55 kB / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3711, allocations: 0 / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001888/0.3713, allocations: 49.59 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3714, allocations: 81.11 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3715, allocations: 133.8 kB / 1.286 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3716, allocations: 25.7 kB / 1.286 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.3717, allocations: 124 kB / 1.287 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.3717, allocations: 8.203 kB / 1.287 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3717, allocations: 21.72 kB / 1.287 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3718, allocations: 318.8 kB / 1.287 GB, free: 276 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.3719, allocations: 7.984 kB / 1.287 GB, free: 268 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.3719, allocations: 17.72 kB / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.3719, allocations: 29.66 kB / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3719, allocations: 0 / 1.287 GB, free: 208 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.361e-05/0.372, allocations: 57.64 kB / 1.287 GB, free: 144 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.372, allocations: 7.938 kB / 1.287 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.372, allocations: 4.062 kB / 1.287 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3721, allocations: 4 kB / 1.287 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.3721, allocations: 4 kB / 1.287 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3721, allocations: 0 / 1.287 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.3721, allocations: 320 / 1.287 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3722, allocations: 7.938 kB / 1.287 GB, free: 116 kB / 0.9825 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 0.0001047/0.3723, allocations: 121.8 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3723, allocations: 11.94 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.3723, allocations: 7.812 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3723, allocations: 4 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3723, allocations: 4 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3723, allocations: 0 / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.3727, allocations: 414.4 kB / 1.288 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3727, allocations: 4 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.3727, allocations: 3.984 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3727, allocations: 7.938 kB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3727, allocations: 0 / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3728, allocations: 7.938 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3728, allocations: 0 / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.3728, allocations: 81.95 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.3729, allocations: 11.94 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3729, allocations: 4 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.3729, allocations: 3.938 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3729, allocations: 0 / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3729, allocations: 0 / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.171e-05/0.373, allocations: 109.6 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.373, allocations: 0 / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001933/0.3732, allocations: 23.89 kB / 1.288 GB, free: 15.23 MB / 0.9981 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.0001112/0.3733, allocations: 91.25 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.995e-05/0.3734, allocations: 23.97 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3734, allocations: 0 / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.3734, allocations: 4 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3736, allocations: 8 kB / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.374, allocations: 208.2 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.374, allocations: 92.25 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.3741, allocations: 11.44 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3741, allocations: 0 / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.002609/0.3767, allocations: 0.8885 MB / 1.289 GB, free: 13.86 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.755915299989283]