Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001314/0.001314, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001448/0.001448, allocations: 211.6 kB / 23 MB, free: 4.934 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [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.002178/0.002178, allocations: 73.89 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3683, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002233/0.3705, allocations: 0.7901 MB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001307/0.3707, allocations: 47.78 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.3707, allocations: 0 / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.3708, allocations: 7.875 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.3709, allocations: 7.875 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.378e-05/0.3709, allocations: 23.98 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.371, allocations: 63.83 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3712, allocations: 35.97 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.596e-05/0.3713, allocations: 31.92 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.3713, allocations: 23.86 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3714, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3714, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.3714, allocations: 15.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.3714, allocations: 27.81 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3716, allocations: 79.56 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3716, allocations: 7.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3716, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3716, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004729/0.3721, allocations: 302 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3721, allocations: 8.031 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3721, allocations: 12.89 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3723, allocations: 134.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3724, allocations: 4.375 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3724, allocations: 12.31 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3726, allocations: 103.8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3726, allocations: 4.188 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3726, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3726, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.3727, allocations: 31.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.3732, allocations: 360.4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.3733, allocations: 37.22 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.3733, allocations: 21.81 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3734, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3734, allocations: 34.56 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3734, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000188/0.3736, allocations: 57.52 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3736, allocations: 77.11 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3738, allocations: 131 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3738, allocations: 25.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.3739, allocations: 107.9 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.3739, allocations: 7.953 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.3739, allocations: 17.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3741, allocations: 318.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.3741, allocations: 8.25 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.3741, allocations: 17.72 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.3742, allocations: 29.66 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3742, allocations: 3.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.3742, allocations: 57.64 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3743, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3743, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3743, allocations: 7.875 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.3743, allocations: 12.06 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3744, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.3744, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3744, allocations: 4 kB / 1.33 GB, free: 13.66 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 9.271e-05/0.3745, allocations: 121.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3745, allocations: 3.953 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.3746, allocations: 7.469 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3746, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3746, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.3746, allocations: 8.094 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.3746, allocations: 7.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.3747, allocations: 3.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.3747, allocations: 7.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001219/0.3748, allocations: 192.2 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001836/0.375, allocations: 297.9 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.16e-05/0.375, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.763e-05/0.3751, allocations: 96.64 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of Backend: time 1.3e-07/0.3751, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.3755, allocations: 90.48 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of SimCode: time 0.000536/0.3761, allocations: 0.6042 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Templates: time 0.003032/0.3791, allocations: 483.2 kB / 1.332 GB, free: 11.66 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.29218787800346]