Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001485/0.001485, 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.001614/0.001614, allocations: 211.8 kB / 22.24 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.547/1.547, 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.63/3.63, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [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.00215/0.00215, allocations: 77.66 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4536, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001979/0.4556, allocations: 0.7946 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.4557, allocations: 39.8 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.4558, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.4558, allocations: 11.88 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.4559, allocations: 15.86 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.551e-05/0.456, allocations: 19.97 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.4561, allocations: 63.84 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4562, allocations: 23.98 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.4563, allocations: 27.86 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.4563, allocations: 27.73 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.4564, allocations: 8 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.4564, allocations: 4 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.4564, allocations: 19.92 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.4564, allocations: 27.86 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.4566, allocations: 75.58 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4566, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4566, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.4566, allocations: 0 / 1.365 GB, free: 12.39 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.0004632/0.457, allocations: 298 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4571, allocations: 12.03 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.4571, allocations: 16.78 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.4573, allocations: 130.4 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4573, allocations: 4.375 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.4573, allocations: 12.38 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4575, allocations: 101.8 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4575, allocations: 192 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4575, allocations: 7.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4575, allocations: 7.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.4576, allocations: 35.98 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.4581, allocations: 356.4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.4582, allocations: 37.16 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.4582, allocations: 25.84 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.4582, allocations: 96 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4583, allocations: 34.5 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.4583, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.4584, allocations: 57.52 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.4585, allocations: 81.11 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4586, allocations: 132.1 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.4587, allocations: 25.7 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.4587, allocations: 111.9 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.4588, allocations: 8.203 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.4588, allocations: 17.72 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4589, allocations: 322.8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.4589, allocations: 0 / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.459, allocations: 21.72 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.459, allocations: 25.66 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.459, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.07e-05/0.4591, allocations: 53.69 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4591, allocations: 8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4591, allocations: 4.062 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4591, allocations: 3.938 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.4592, allocations: 7.938 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4592, allocations: 4 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.4592, allocations: 3.953 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.4592, allocations: 3.984 kB / 1.367 GB, free: 10.25 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.278e-05/0.4593, allocations: 117.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.4594, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.4594, allocations: 11.5 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4594, allocations: 7.984 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4594, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.4594, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.4598, allocations: 414.4 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.4598, allocations: 3.938 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.4598, allocations: 7.938 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4598, allocations: 0 / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.4598, allocations: 0 / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4598, allocations: 0 / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4598, allocations: 4 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.185e-05/0.4599, allocations: 77.98 kB / 1.367 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.4599, allocations: 11.89 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.4599, allocations: 4 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.46, allocations: 3.984 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.46, allocations: 4 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.46, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.4601, allocations: 99.27 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4601, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001875/0.4602, allocations: 15.95 kB / 1.368 GB, free: 9.387 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.0001175/0.4604, allocations: 91.25 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.4605, allocations: 27.95 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4605, allocations: 0 / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-06/0.4605, allocations: 4 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4606, allocations: 11.88 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.461, allocations: 146.8 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.727e-05/0.461, allocations: 91.3 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.4611, allocations: 8 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4611, allocations: 7.438 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4611, allocations: 4 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of Templates: time 0.002598/0.4637, allocations: 372.6 kB / 1.368 GB, free: 8.578 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.965438885614276]