Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001857/0.001857, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.002379/0.002379, allocations: 213.5 kB / 22.24 MB, free: 5.105 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.692/1.692, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.495/3.495, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002037/0.002037, allocations: 67.23 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4535, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003454/0.457, allocations: 0.8365 MB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.4572, allocations: 51.72 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4573, allocations: 4 kB / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.105e-05/0.4574, allocations: 15.75 kB / 1.326 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.4576, allocations: 15.86 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.942e-05/0.4577, allocations: 19.98 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.4579, allocations: 83.77 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.4581, allocations: 33.3 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4582, allocations: 31.84 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.4583, allocations: 35.78 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.4583, allocations: 8 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.796e-05/0.4583, allocations: 8 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.4583, allocations: 23.86 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.4584, allocations: 39.73 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.4586, allocations: 91.55 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4587, allocations: 0 / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4587, allocations: 7.938 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4587, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 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.0008411/0.4595, allocations: 326 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4596, allocations: 12.03 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.4596, allocations: 16.89 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.46, allocations: 146.5 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.46, allocations: 8.562 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.46, allocations: 4.375 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4603, allocations: 109.2 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4603, allocations: 3.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.4603, allocations: 8 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.4603, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4605, allocations: 39.98 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.4612, allocations: 380.3 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.038e-05/0.4612, allocations: 37.16 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.4613, allocations: 17.78 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.4613, allocations: 224 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.4614, allocations: 38.55 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4614, allocations: 7.875 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.4616, allocations: 45.66 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.4617, allocations: 81.05 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.4618, allocations: 151.9 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4619, allocations: 25.7 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.462, allocations: 120.1 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.4621, allocations: 3.953 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.4621, allocations: 13.72 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4623, allocations: 326.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.4623, allocations: 8 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.4624, allocations: 13.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.4624, allocations: 29.66 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.4624, allocations: 8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/0.4626, allocations: 57.58 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4626, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4626, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4626, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.4627, allocations: 8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4627, allocations: 3.984 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.4627, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4627, allocations: 7.938 kB / 1.329 GB, free: 14.36 MB / 1.029 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.0001527/0.4629, allocations: 125.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.4629, allocations: 11.95 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.463, allocations: 3.812 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.463, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.463, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.463, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.4636, allocations: 418.4 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4636, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.4636, allocations: 7.984 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4636, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4636, allocations: 4.062 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4636, allocations: 7.938 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4636, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.4639, allocations: 78.03 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.464, allocations: 19.88 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.464, allocations: 3.938 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/0.464, allocations: 7.938 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.464, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.464, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000106/0.4641, allocations: 108.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4641, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000313/0.4644, allocations: 19.92 kB / 1.33 GB, free: 13.47 MB / 1.029 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.0001404/0.4646, allocations: 99.23 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4647, allocations: 19.94 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4647, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.4647, allocations: 8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4649, allocations: 5.188 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.4654, allocations: 182.7 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4656, allocations: 88.19 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.4656, allocations: 7.984 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.4656, allocations: 7.438 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4656, allocations: 3.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of Templates: time 0.003294/0.4689, allocations: 392.1 kB / 1.33 GB, free: 12.62 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.904938524588943]