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.001342/0.001342, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001418/0.001418, allocations: 215.4 kB / 22.25 MB, free: 5.125 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.984 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 3.108/3.108, allocations: 476.7 MB / 0.7706 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.002158/0.002158, allocations: 66.61 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.465, allocations: 170 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003115/0.4681, allocations: 0.8842 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.4684, allocations: 63.84 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.4685, allocations: 7.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.4685, allocations: 11.81 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.4686, allocations: 7.875 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.537e-05/0.4687, allocations: 23.97 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.4689, allocations: 87.77 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.4691, allocations: 41.22 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.4692, allocations: 27.86 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.4693, allocations: 39.78 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.4693, allocations: 8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.4693, allocations: 12 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.4693, allocations: 19.92 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.4694, allocations: 47.62 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.4696, allocations: 91.59 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4696, allocations: 3.938 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4696, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4696, allocations: 0 / 1.285 GB, free: 9.84 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.0006032/0.4702, allocations: 330 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4703, allocations: 8.031 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.4703, allocations: 16.89 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.4706, allocations: 142.5 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4706, allocations: 8.562 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.4706, allocations: 8.375 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.4709, allocations: 105.4 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4709, allocations: 7.875 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4709, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4709, allocations: 4 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.471, allocations: 43.97 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.4718, allocations: 439.5 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.4718, allocations: 37.09 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.4719, allocations: 26.06 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.4719, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.472, allocations: 38.48 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.472, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.4723, allocations: 53.59 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.4724, allocations: 81.05 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4726, allocations: 187.5 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4726, allocations: 29.7 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4727, allocations: 108 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.4727, allocations: 3.953 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.4728, allocations: 17.72 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4729, allocations: 326.8 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.473, allocations: 8 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.473, allocations: 17.7 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.473, allocations: 29.72 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.473, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001131/0.4732, allocations: 61.58 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4732, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4732, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4732, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.4733, allocations: 4 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4733, allocations: 4.062 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.4733, allocations: 19.83 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4733, allocations: 4 kB / 1.287 GB, free: 7.48 MB / 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.0001019/0.4734, allocations: 117.8 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.4735, allocations: 11.91 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.4735, allocations: 16.48 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4735, allocations: 4 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4735, allocations: 0 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4735, allocations: 3.938 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.474, allocations: 449.9 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.474, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.4741, allocations: 4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4741, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4741, allocations: 3.938 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4741, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4741, allocations: 3.938 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.4742, allocations: 82 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.4742, allocations: 19.84 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4742, allocations: 3.938 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.404e-05/0.4743, allocations: 7.922 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.4743, allocations: 4 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.4743, allocations: 96 / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001405/0.4744, allocations: 140.3 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4744, allocations: 0 / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002025/0.4746, allocations: 12 kB / 1.288 GB, free: 6.527 MB / 0.9825 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.0001476/0.4748, allocations: 95.23 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4749, allocations: 16 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4749, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.4749, allocations: 7.938 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.4751, allocations: 20.17 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.4755, allocations: 174.6 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.4762, allocations: 0.7039 MB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.4762, allocations: 12.48 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.4763, allocations: 11.44 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of SimCode: time 5e-07/0.4763, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.003402/0.4797, allocations: 0.5412 MB / 1.29 GB, free: 4.887 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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: 9.816828484181315]