Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001639/0.001639, allocations: 110 kB / 16.46 MB, free: 6.453 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.00182/0.00182, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.68/1.68, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.327/3.327, allocations: 0.4899 GB / 0.7916 GB, free: 33.54 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002112/0.002112, allocations: 66.64 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4469, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002413/0.4493, allocations: 0.8318 MB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.4494, allocations: 35.8 kB / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.527e-05/0.4495, allocations: 4 kB / 1.322 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.889e-05/0.4495, allocations: 11.86 kB / 1.322 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.4497, allocations: 7.938 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.605e-05/0.4497, allocations: 15.98 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.4499, allocations: 71.77 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.45, allocations: 27.92 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.897e-05/0.4501, allocations: 35.84 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.4502, allocations: 27.8 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.4502, allocations: 8 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.4502, allocations: 8 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.4502, allocations: 7.984 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.4503, allocations: 35.75 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4504, allocations: 87.44 kB / 1.322 GB, free: 1.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4504, allocations: 4 kB / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4504, allocations: 0 / 1.322 GB, free: 1.586 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4504, allocations: 0 / 1.322 GB, free: 1.586 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005517/0.451, allocations: 387.1 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.451, allocations: 15.98 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4511, allocations: 8.891 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.4513, allocations: 196.2 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4513, allocations: 4.375 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.4513, allocations: 8.375 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4515, allocations: 91.86 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4515, allocations: 192 / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.4516, allocations: 7.938 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4516, allocations: 8 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.4517, allocations: 35.92 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.4523, allocations: 432.7 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.4524, allocations: 41.33 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.4524, allocations: 21.78 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.4524, allocations: 0 / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4524, allocations: 34.56 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4524, allocations: 0 / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002014/0.4526, allocations: 65.45 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.4527, allocations: 85.3 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4529, allocations: 160.3 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4529, allocations: 25.7 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.453, allocations: 100 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.453, allocations: 19.92 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.4531, allocations: 13.66 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4532, allocations: 318.8 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.4532, allocations: 11.98 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.4532, allocations: 17.72 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.4533, allocations: 25.72 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4533, allocations: 0 / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.4534, allocations: 61.58 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4534, allocations: 4 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4534, allocations: 3.938 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4535, allocations: 4.062 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.4535, allocations: 8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4535, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.4536, allocations: 7.953 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4536, allocations: 7.938 kB / 1.325 GB, free: 15.14 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 8.416e-05/0.4536, allocations: 113.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4537, allocations: 7.953 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.4537, allocations: 19.81 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4537, allocations: 3.938 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4537, allocations: 4 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4537, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.4542, allocations: 466.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4542, allocations: 3.938 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.4542, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4542, allocations: 3.984 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4542, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4542, allocations: 4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4542, allocations: 4.062 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.63e-05/0.4543, allocations: 77.84 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.4544, allocations: 96.98 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.4544, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.4544, allocations: 3.938 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.4544, allocations: 4.031 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.4544, allocations: 7.938 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4545, allocations: 121.3 kB / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4545, allocations: 0 / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001872/0.4547, allocations: 4 kB / 1.325 GB, free: 14.09 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.0001441/0.4548, allocations: 103.2 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.604e-05/0.4549, allocations: 11.98 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4549, allocations: 128 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.455, allocations: 15.94 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.4551, allocations: 16.33 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.4555, allocations: 158.8 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.4558, allocations: 0.6924 MB / 1.326 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.4559, allocations: 12.55 kB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.4559, allocations: 11.44 kB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4559, allocations: 0 / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of Templates: time 0.00312/0.459, allocations: 460.5 kB / 1.327 GB, free: 12.56 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.702470880933106]