Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002111/0.002111, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003459/0.003459, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.76/1.76, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.068/3.068, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002384/0.002384, allocations: 68.52 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4461, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002711/0.4488, allocations: 0.7884 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001812/0.449, allocations: 43.78 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.4491, allocations: 8 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.4492, allocations: 7.875 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.4493, allocations: 7.922 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.842e-05/0.4494, allocations: 19.98 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.4495, allocations: 67.77 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.4497, allocations: 23.98 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.4498, allocations: 31.86 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.4499, allocations: 19.86 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.4499, allocations: 7.938 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.4499, allocations: 8 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.45, allocations: 19.92 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.45, allocations: 23.81 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.4502, allocations: 83.56 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4502, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4502, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.4502, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 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.0005747/0.4508, allocations: 306.1 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4508, allocations: 8.031 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.4509, allocations: 12.89 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4511, allocations: 134.3 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4511, allocations: 12.38 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.4511, allocations: 8.375 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4513, allocations: 97.72 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4514, allocations: 192 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.4514, allocations: 11.94 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.4514, allocations: 4 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.4515, allocations: 39.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.4521, allocations: 352.4 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.4522, allocations: 41.34 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.4522, allocations: 21.72 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.4522, allocations: 3.938 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.4522, allocations: 38.56 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4522, allocations: 0 / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.4524, allocations: 57.52 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.4525, allocations: 81.05 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4527, allocations: 130 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.4527, allocations: 25.7 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.4528, allocations: 116.2 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.4528, allocations: 7.953 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.4528, allocations: 17.72 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.453, allocations: 314.8 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.453, allocations: 8 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.453, allocations: 17.72 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.4531, allocations: 25.72 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4531, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.93e-05/0.4532, allocations: 57.58 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4532, allocations: 8.062 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4532, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.4532, allocations: 7.938 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.4533, allocations: 4 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4533, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.4533, allocations: 8 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4533, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 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.000104/0.4534, allocations: 125.7 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.4535, allocations: 7.953 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.4535, allocations: 7.406 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4535, allocations: 4 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4535, allocations: 4 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4535, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.4539, allocations: 410.5 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4539, allocations: 3.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.4539, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4539, allocations: 4 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.454, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.454, allocations: 0 / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.454, allocations: 3.938 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.4541, allocations: 82 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.4541, allocations: 7.938 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.4541, allocations: 3.938 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.4541, allocations: 8 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.4541, allocations: 3.984 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.4541, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.707e-05/0.4542, allocations: 103.2 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4542, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001905/0.4544, allocations: 11.95 kB / 1.287 GB, free: 7.766 MB / 0.9825 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.0001623/0.4546, allocations: 99.28 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.4547, allocations: 16 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4547, allocations: 3.938 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.41e-05/0.4547, allocations: 11.98 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.4549, allocations: 3.938 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.4553, allocations: 154.8 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.107e-05/0.4553, allocations: 91.47 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.4554, allocations: 7.984 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.4554, allocations: 7.438 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.4554, allocations: 0 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.003059/0.4585, allocations: 366.6 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.019187465310097]