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.00136/0.00136, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001566/0.001566, allocations: 212.8 kB / 23 MB, free: 4.57 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.277/3.277, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002077/0.002077, allocations: 69.05 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002117/0.3694, allocations: 0.832 MB / 1.355 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.3695, allocations: 43.78 kB / 1.355 GB, free: 7.066 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.3695, allocations: 4 kB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.3696, allocations: 15.86 kB / 1.355 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.3697, allocations: 3.938 kB / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.071e-05/0.3697, allocations: 15.98 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3698, allocations: 71.72 kB / 1.355 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.37, allocations: 27.97 kB / 1.355 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.3701, allocations: 27.88 kB / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.3701, allocations: 31.83 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3701, allocations: 4 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.3701, allocations: 8 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.3702, allocations: 11.94 kB / 1.355 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.3702, allocations: 39.73 kB / 1.355 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3703, allocations: 75.53 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3703, allocations: 4 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3703, allocations: 0 / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3703, allocations: 0 / 1.355 GB, free: 6.73 MB / 1.045 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.0005056/0.3709, allocations: 306 kB / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3709, allocations: 8.031 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.3709, allocations: 8.891 kB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3711, allocations: 146.3 kB / 1.356 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3711, allocations: 8.375 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3712, allocations: 8.375 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3713, allocations: 87.86 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3713, allocations: 192 / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3713, allocations: 7.938 kB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3714, allocations: 4 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.3714, allocations: 43.91 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.3721, allocations: 399.8 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.3721, allocations: 37.28 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.3722, allocations: 17.84 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3722, allocations: 3.984 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3722, allocations: 42.56 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3722, allocations: 0 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.3724, allocations: 57.53 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.3724, allocations: 77.11 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3726, allocations: 159.7 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3726, allocations: 25.7 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3728, allocations: 108.3 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.3728, allocations: 7.938 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.3729, allocations: 21.66 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002774/0.3731, allocations: 322.8 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.3731, allocations: 4 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.3732, allocations: 21.7 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.3732, allocations: 33.59 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3732, allocations: 0 / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001651/0.3734, allocations: 61.59 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3734, allocations: 5.719 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3734, allocations: 7.922 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3734, allocations: 0 / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.3735, allocations: 8 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3735, allocations: 0 / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.3735, allocations: 3.953 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3735, allocations: 8.062 kB / 1.357 GB, free: 4.488 MB / 1.045 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.969e-05/0.3736, allocations: 118.4 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.3737, allocations: 8.047 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.3737, allocations: 19.72 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3737, allocations: 7.938 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3737, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3737, allocations: 0 / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.3742, allocations: 445.8 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3742, allocations: 3.938 kB / 1.358 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.3742, allocations: 4 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3742, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.3742, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3742, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3742, allocations: 4 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.3743, allocations: 85.94 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.3743, allocations: 7.953 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3743, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.3743, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.3744, allocations: 7.984 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3744, allocations: 7.938 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3745, allocations: 120.9 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3745, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000194/0.3747, allocations: 8.031 kB / 1.358 GB, free: 3.566 MB / 1.045 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.0001143/0.3748, allocations: 95.25 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.3749, allocations: 12 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3749, allocations: 0 / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.3749, allocations: 7.938 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.375, allocations: 21.75 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.3754, allocations: 184.7 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.3758, allocations: 0.6924 MB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3759, allocations: 11.44 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3759, allocations: 0 / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of Templates: time 0.002686/0.3786, allocations: 0.8759 MB / 1.36 GB, free: 1.594 MB / 1.045 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.385197078983765]