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.001389/0.001389, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001618/0.001618, allocations: 221.8 kB / 23 MB, free: 4.91 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.278/3.278, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002118/0.002118, allocations: 65.84 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4251, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002521/0.4276, allocations: 0.7897 MB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.4278, allocations: 51.72 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.4278, allocations: 0 / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.772e-05/0.4279, allocations: 11.88 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.428, allocations: 7.875 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.192e-05/0.428, allocations: 19.97 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.4282, allocations: 63.84 kB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.4284, allocations: 23.98 kB / 1.366 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.4284, allocations: 23.86 kB / 1.366 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.4285, allocations: 31.8 kB / 1.366 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.4285, allocations: 4 kB / 1.366 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.4285, allocations: 8 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.4285, allocations: 19.84 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.4286, allocations: 23.88 kB / 1.366 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.4287, allocations: 83.58 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4287, allocations: 0 / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4288, allocations: 0 / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4288, allocations: 0 / 1.366 GB, free: 12.46 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.0005188/0.4293, allocations: 299.4 kB / 1.366 GB, free: 12.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4293, allocations: 8.031 kB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.4294, allocations: 12.84 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.4296, allocations: 138.3 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4296, allocations: 16.3 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.4297, allocations: 4.375 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.4298, allocations: 99.86 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4299, allocations: 8.109 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.4299, allocations: 7.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4299, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.43, allocations: 31.98 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.4305, allocations: 356.6 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.4306, allocations: 37.16 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.4306, allocations: 17.78 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.4306, allocations: 4 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4307, allocations: 38.5 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4307, allocations: 0 / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.4309, allocations: 53.58 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.4309, allocations: 81.05 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4311, allocations: 132.1 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4311, allocations: 25.7 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.4312, allocations: 107.9 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.4312, allocations: 15.89 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.4312, allocations: 13.97 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4314, allocations: 322.8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.4314, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.4314, allocations: 17.72 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.4315, allocations: 25.72 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4315, allocations: 4 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.665e-05/0.4316, allocations: 57.62 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4316, allocations: 4 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4316, allocations: 0 / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4316, allocations: 8 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.4317, allocations: 8 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4317, allocations: 0 / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.4317, allocations: 7.938 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.4317, allocations: 7.938 kB / 1.368 GB, free: 10.32 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 9.711e-05/0.4318, allocations: 118.9 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.4319, allocations: 0 / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.4319, allocations: 15.41 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4319, allocations: 3.938 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4319, allocations: 0 / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4319, allocations: 4 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.4323, allocations: 418.4 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4323, allocations: 3.938 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.4323, allocations: 4 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4323, allocations: 0 / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4324, allocations: 4 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4324, allocations: 0 / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4324, allocations: 3.984 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.4325, allocations: 69.94 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.4325, allocations: 19.98 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.4325, allocations: 3.984 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.4325, allocations: 0 / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.4326, allocations: 4 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.4326, allocations: 0 / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.835e-05/0.4326, allocations: 103.3 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4326, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001939/0.4328, allocations: 11.95 kB / 1.368 GB, free: 9.465 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.0001363/0.433, allocations: 95.25 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.4331, allocations: 23.92 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4331, allocations: 0 / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.4331, allocations: 4 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.4332, allocations: 15.88 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.4337, allocations: 172.5 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.522e-05/0.4337, allocations: 87.11 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.4338, allocations: 11.69 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.4338, allocations: 4 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of Templates: time 0.002523/0.4363, allocations: 0.7947 MB / 1.37 GB, free: 8.195 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/jenkins1/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: 11.14929794613272]