Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001942/0.001942, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.002051/0.002051, allocations: 157.7 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.106/3.106, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.987e-05, allocations: 3 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002178/0.002208, allocations: 0.8119 MB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.002338, allocations: 40.44 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.002393, allocations: 0 / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.002431, allocations: 9.031 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.002532, allocations: 15.86 kB / 0.8117 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.996e-05/0.002592, allocations: 23.97 kB / 0.8117 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.002723, allocations: 56.44 kB / 0.8118 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.00286, allocations: 34.31 kB / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.002969, allocations: 39.84 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.003027, allocations: 15.92 kB / 0.8118 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.003055, allocations: 8 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.003065, allocations: 4 kB / 0.8118 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.003098, allocations: 23.91 kB / 0.8119 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.003134, allocations: 17.31 kB / 0.8119 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003275, allocations: 71.69 kB / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.003277, allocations: 0 / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003278, allocations: 0 / 0.812 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003282, allocations: 1.156 kB / 0.812 GB, free: 0.9531 MB / 0.7605 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.0005439/0.003826, allocations: 415.9 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.003864, allocations: 8.969 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.003917, allocations: 16.89 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.004138, allocations: 136.4 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.004158, allocations: 13.28 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.004171, allocations: 4.375 kB / 0.8125 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.004351, allocations: 105.2 kB / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.004359, allocations: 192 / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.004369, allocations: 384 / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.004376, allocations: 5.719 kB / 0.8126 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.004469, allocations: 47.8 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.005124, allocations: 470.3 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.211e-05/0.005216, allocations: 64.17 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.005263, allocations: 27.44 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.005275, allocations: 4 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.005305, allocations: 35.08 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005306, allocations: 0 / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.005487, allocations: 49.59 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.005558, allocations: 86 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.005736, allocations: 193.9 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.005754, allocations: 25.7 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.005882, allocations: 163.2 kB / 0.8137 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.005893, allocations: 8.484 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.005935, allocations: 23.31 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.006204, allocations: 0.4895 MB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.00623, allocations: 11.98 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.006259, allocations: 19.38 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.006315, allocations: 32.44 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.006317, allocations: 0.8438 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.711e-05/0.006414, allocations: 58.47 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.006427, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006431, allocations: 1.281 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.006443, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.0065, allocations: 8 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.006508, allocations: 3.938 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.006538, allocations: 8.734 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006545, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 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.0001274/0.006672, allocations: 161.6 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.006715, allocations: 11.94 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.006737, allocations: 8.859 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006738, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.006741, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.006746, allocations: 7.938 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008713/0.007617, allocations: 0.5591 MB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007619, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.007638, allocations: 3 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.00764, allocations: 4 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.007652, allocations: 3.938 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007654, allocations: 0 / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007655, allocations: 3.938 kB / 0.8151 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.007798, allocations: 92.12 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.007822, allocations: 4.047 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.007848, allocations: 15.92 kB / 0.8152 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.007866, allocations: 0.5 kB / 0.8152 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.007888, allocations: 5.094 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.007891, allocations: 0 / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001306/0.008021, allocations: 151.2 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008021, allocations: 1.25 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001931/0.008214, allocations: 11.95 kB / 0.8154 GB, free: 13.1 MB / 0.7761 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.0001468/0.008361, allocations: 92.19 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.008474, allocations: 25.03 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008476, allocations: 0 / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.008506, allocations: 23.61 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.008687, allocations: 5.062 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.009101, allocations: 174.6 kB / 0.8157 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.00919, allocations: 82.47 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.009221, allocations: 7.984 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.00925, allocations: 8.5 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.00925, allocations: 0 / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003052/0.0123, allocations: 343.4 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.372296627960168]