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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 489.7 MB / 0.7761 GB, free: 2.48 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.91 kB / 1.127 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9643/0.9662, allocations: 172 MB / 1.295 GB, free: 38.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001806/0.968, allocations: 0.8332 MB / 1.296 GB, free: 38.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.9681, allocations: 44.78 kB / 1.296 GB, free: 38.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.9682, allocations: 0 / 1.296 GB, free: 38.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.9682, allocations: 11.16 kB / 1.296 GB, free: 38.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.9683, allocations: 10.78 kB / 1.296 GB, free: 38.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.075e-05/0.9683, allocations: 18.23 kB / 1.296 GB, free: 38.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.9684, allocations: 61 kB / 1.296 GB, free: 38.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.9686, allocations: 42.09 kB / 1.296 GB, free: 38.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.9686, allocations: 24.62 kB / 1.296 GB, free: 38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.9687, allocations: 32.58 kB / 1.296 GB, free: 37.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.9687, allocations: 5.781 kB / 1.296 GB, free: 37.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-06/0.9687, allocations: 5.875 kB / 1.296 GB, free: 37.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.9687, allocations: 18.05 kB / 1.296 GB, free: 37.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.9687, allocations: 33.09 kB / 1.296 GB, free: 37.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.9688, allocations: 76.28 kB / 1.296 GB, free: 37.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9688, allocations: 0 / 1.296 GB, free: 37.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9688, allocations: 0 / 1.296 GB, free: 37.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.9688, allocations: 0 / 1.296 GB, free: 37.91 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.000349/0.9692, allocations: 388.3 kB / 1.296 GB, free: 37.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.9692, allocations: 11.38 kB / 1.296 GB, free: 37.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.9693, allocations: 11.83 kB / 1.296 GB, free: 37.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.9694, allocations: 194.2 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.9695, allocations: 3.062 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.9695, allocations: 9.594 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.9696, allocations: 97.91 kB / 1.297 GB, free: 37.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9696, allocations: 2.938 kB / 1.297 GB, free: 37.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.9696, allocations: 3.938 kB / 1.297 GB, free: 37.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.9696, allocations: 6.828 kB / 1.297 GB, free: 37.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.9697, allocations: 39.44 kB / 1.297 GB, free: 37.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.9702, allocations: 432.3 kB / 1.297 GB, free: 36.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.334e-05/0.9702, allocations: 44.19 kB / 1.297 GB, free: 36.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.9703, allocations: 22.81 kB / 1.297 GB, free: 36.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.9703, allocations: 0 / 1.297 GB, free: 36.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.9703, allocations: 37.47 kB / 1.297 GB, free: 36.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.9703, allocations: 0 / 1.297 GB, free: 36.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001604/0.9704, allocations: 67 kB / 1.297 GB, free: 36.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.9705, allocations: 77.11 kB / 1.297 GB, free: 36.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9706, allocations: 159.7 kB / 1.298 GB, free: 36.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.9706, allocations: 25.7 kB / 1.298 GB, free: 36.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.9706, allocations: 102.5 kB / 1.298 GB, free: 36.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.9706, allocations: 6.828 kB / 1.298 GB, free: 36.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.9707, allocations: 20.06 kB / 1.298 GB, free: 36.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.9707, allocations: 322 kB / 1.298 GB, free: 35.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.9707, allocations: 6.422 kB / 1.298 GB, free: 35.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.9707, allocations: 16.69 kB / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.9708, allocations: 26.75 kB / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9708, allocations: 0 / 1.298 GB, free: 35.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.864e-05/0.9708, allocations: 63.06 kB / 1.298 GB, free: 35.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9709, allocations: 10.03 kB / 1.298 GB, free: 35.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.9709, allocations: 3.938 kB / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.9709, allocations: 2.938 kB / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.9709, allocations: 6.219 kB / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9709, allocations: 0 / 1.298 GB, free: 35.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.971, allocations: 11.83 kB / 1.298 GB, free: 35.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.971, allocations: 3.062 kB / 1.298 GB, free: 35.82 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 4.749e-05/0.971, allocations: 116.5 kB / 1.298 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.9711, allocations: 13.8 kB / 1.298 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.9711, allocations: 18.84 kB / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9711, allocations: 0 / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9711, allocations: 0 / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.9711, allocations: 7.781 kB / 1.298 GB, free: 35.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.9713, allocations: 463.7 kB / 1.299 GB, free: 35.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9713, allocations: 2.719 kB / 1.299 GB, free: 35.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.9714, allocations: 2.938 kB / 1.299 GB, free: 35.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.9714, allocations: 4.062 kB / 1.299 GB, free: 35.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-06/0.9714, allocations: 0 / 1.299 GB, free: 35.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9714, allocations: 2.875 kB / 1.299 GB, free: 35.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9714, allocations: 3.188 kB / 1.299 GB, free: 35.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.618e-05/0.9714, allocations: 85.62 kB / 1.299 GB, free: 35.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.9715, allocations: 87.59 kB / 1.299 GB, free: 35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.9715, allocations: 2.781 kB / 1.299 GB, free: 35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.9715, allocations: 4 kB / 1.299 GB, free: 35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.9715, allocations: 4 kB / 1.299 GB, free: 34.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.9715, allocations: 2.812 kB / 1.299 GB, free: 34.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.9716, allocations: 123.1 kB / 1.299 GB, free: 34.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9716, allocations: 0 / 1.299 GB, free: 34.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001895/0.9718, allocations: 6 kB / 1.299 GB, free: 34.91 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.0001085/0.9719, allocations: 97.78 kB / 1.299 GB, free: 34.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.972, allocations: 20.56 kB / 1.299 GB, free: 34.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.972, allocations: 0 / 1.299 GB, free: 34.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.972, allocations: 8.812 kB / 1.299 GB, free: 34.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.9721, allocations: 12.5 kB / 1.299 GB, free: 34.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.9724, allocations: 188.5 kB / 1.299 GB, free: 34.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.9725, allocations: 0.6977 MB / 1.3 GB, free: 33.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.9725, allocations: 10.5 kB / 1.3 GB, free: 33.91 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9725, allocations: 0 / 1.3 GB, free: 33.91 MB / 1.061 GB Notification: Performance of Templates: time 0.002139/0.9747, allocations: 0.8657 MB / 1.301 GB, free: 33.84 MB / 1.061 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] 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/jenkins1/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