Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001931/0.001931, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002871/0.002871, allocations: 216.5 kB / 22.25 MB, free: 5.262 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.785 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.62/3.62, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.002783/0.002783, allocations: 67.84 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4726, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002206/0.4748, allocations: 0.8024 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.4749, allocations: 39.73 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.4749, allocations: 4 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.475, allocations: 11.86 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.4751, allocations: 11.92 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.953e-05/0.4751, allocations: 15.98 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.4753, allocations: 67.78 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.4754, allocations: 19.98 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.4755, allocations: 27.86 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.992e-05/0.4756, allocations: 31.84 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.4756, allocations: 4 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.4756, allocations: 8 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.4756, allocations: 11.94 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.4757, allocations: 35.78 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.4758, allocations: 75.53 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4758, allocations: 4 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4758, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4758, allocations: 0 / 1.365 GB, free: 12.48 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.0005377/0.4764, allocations: 302 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4764, allocations: 12.03 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.4764, allocations: 12.84 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.4767, allocations: 134.4 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.4767, allocations: 8.375 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.4767, allocations: 4.375 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4769, allocations: 99.84 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4769, allocations: 192 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4769, allocations: 3.938 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4769, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.477, allocations: 39.92 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.4776, allocations: 364.4 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.4776, allocations: 37.34 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.4777, allocations: 21.77 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.4777, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4777, allocations: 34.56 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4777, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002005/0.4779, allocations: 53.53 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.478, allocations: 77.36 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.4781, allocations: 133.8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4782, allocations: 25.7 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.4782, allocations: 107.9 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.4783, allocations: 15.89 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.4783, allocations: 17.7 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4784, allocations: 318.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.4785, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.4785, allocations: 21.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.4785, allocations: 21.72 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4785, allocations: 11.94 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.293e-05/0.4786, allocations: 53.64 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4786, allocations: 5.875 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4786, allocations: 3.984 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4787, allocations: 3.938 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.4787, allocations: 8 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4787, allocations: 0 / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.4788, allocations: 3.953 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4788, allocations: 4 kB / 1.367 GB, free: 10.34 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 0.0001054/0.4789, allocations: 121.8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.4789, allocations: 4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.4789, allocations: 19.39 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4789, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4789, allocations: 3.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.479, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.4793, allocations: 406.5 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4793, allocations: 7.922 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.4794, allocations: 7.938 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4794, allocations: 0 / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.4794, allocations: 8.062 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4794, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4794, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.592e-05/0.4795, allocations: 66 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.4795, allocations: 15.88 kB / 1.367 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4795, allocations: 4 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.4795, allocations: 0 / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.4795, allocations: 4 kB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.4795, allocations: 0 / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.4796, allocations: 105.7 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4796, allocations: 4.031 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001913/0.4798, allocations: 15.95 kB / 1.368 GB, free: 9.484 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.0001025/0.4799, allocations: 95.23 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.48, allocations: 16 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.48, allocations: 0 / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.48, allocations: 7.938 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.4802, allocations: 17.59 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.4805, allocations: 158.9 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.987e-05/0.4806, allocations: 83.12 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.4806, allocations: 0 / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.4807, allocations: 11.44 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4807, allocations: 0 / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of Templates: time 0.002873/0.4835, allocations: 376.7 kB / 1.368 GB, free: 8.676 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.072273332625628]