Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001821/0.001821, 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.001979/0.001979, allocations: 213.8 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.45/1.45, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.345/3.345, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002121/0.002121, allocations: 72.48 kB / 1.187 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4212, allocations: 181.9 MB / 1.365 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002223/0.4234, allocations: 0.797 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.4235, allocations: 43.78 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.4236, allocations: 4 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.4236, allocations: 3.938 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.4237, allocations: 7.875 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.956e-05/0.4238, allocations: 23.97 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.4239, allocations: 63.78 kB / 1.366 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.4241, allocations: 27.97 kB / 1.366 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.4241, allocations: 35.86 kB / 1.366 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.4242, allocations: 23.8 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.4242, allocations: 4 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.4242, allocations: 8 kB / 1.366 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.4243, allocations: 11.98 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.4243, allocations: 23.81 kB / 1.366 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.4244, allocations: 87.5 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4244, allocations: 0 / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4244, allocations: 0 / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.4244, allocations: 0 / 1.366 GB, free: 12.51 MB / 1.061 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.0004726/0.4249, allocations: 298 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.425, allocations: 12.03 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.425, allocations: 12.84 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.4252, allocations: 130.4 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4252, allocations: 16.3 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4252, allocations: 12.36 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4254, allocations: 91.86 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4254, allocations: 192 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4254, allocations: 7.938 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4254, allocations: 4 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.4255, allocations: 35.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.426, allocations: 364.5 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.4261, allocations: 45.19 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.4261, allocations: 13.78 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.4262, allocations: 0 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4262, allocations: 38.56 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4262, allocations: 0 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001882/0.4264, allocations: 57.52 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.4264, allocations: 85.3 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4266, allocations: 128.7 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4266, allocations: 25.7 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.4267, allocations: 111.9 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.4267, allocations: 7.953 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.4267, allocations: 17.72 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4269, allocations: 314.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.4269, allocations: 8 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.4269, allocations: 17.66 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.427, allocations: 33.72 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.427, allocations: 0 / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.272e-05/0.427, allocations: 53.62 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4271, allocations: 4 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4271, allocations: 0 / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4271, allocations: 7.938 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.4271, allocations: 4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4271, allocations: 0 / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.4272, allocations: 11.94 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4272, allocations: 4 kB / 1.368 GB, free: 10.37 MB / 1.061 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.786e-05/0.4273, allocations: 121.8 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.4273, allocations: 0 / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.4273, allocations: 11.41 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4273, allocations: 0 / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4273, allocations: 0 / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4273, allocations: 4 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.4277, allocations: 410.4 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.4277, allocations: 7.938 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.4277, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4278, allocations: 4 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.4278, allocations: 4.062 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4278, allocations: 7.875 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4278, allocations: 3.984 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.557e-05/0.4278, allocations: 70 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.4279, allocations: 11.89 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.4279, allocations: 3.984 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.4279, allocations: 0 / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.4279, allocations: 4 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.4279, allocations: 4 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.419e-05/0.428, allocations: 103.3 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.428, allocations: 4.031 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001856/0.4282, allocations: 11.95 kB / 1.368 GB, free: 9.512 MB / 1.061 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.0001142/0.4283, allocations: 99.19 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.183e-05/0.4284, allocations: 19.92 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4284, allocations: 0 / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.4284, allocations: 11.94 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.4286, allocations: 11.66 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.4289, allocations: 180.7 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.429, allocations: 87.11 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.429, allocations: 11.44 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.429, allocations: 0 / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of Templates: time 0.002354/0.4314, allocations: 0.7869 MB / 1.37 GB, free: 8.246 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.160455890931189]