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.001065/0.001065, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001011/0.001011, allocations: 169 kB / 24.28 MB, free: 264 kB / 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 0.9852/0.9852, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.901/1.901, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.013e-06/2.013e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.503e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002161/0.002196, allocations: 0.8211 MB / 0.8123 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.002346, allocations: 44.44 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.002408, allocations: 1.125 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.002455, allocations: 7.875 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.002568, allocations: 15.81 kB / 0.8124 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.641e-05/0.002624, allocations: 16.47 kB / 0.8124 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.002746, allocations: 69.11 kB / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.0029, allocations: 23.98 kB / 0.8125 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.003015, allocations: 39.89 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.003065, allocations: 17.86 kB / 0.8126 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.003093, allocations: 8 kB / 0.8126 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.003103, allocations: 4 kB / 0.8126 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.003129, allocations: 19.92 kB / 0.8126 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.003166, allocations: 19.91 kB / 0.8126 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.003292, allocations: 49.3 kB / 0.8127 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.003295, allocations: 0 / 0.8127 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003296, allocations: 0 / 0.8127 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.003301, allocations: 0 / 0.8127 GB, free: 0.9219 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.0004815/0.003783, allocations: 405.6 kB / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.003837, allocations: 8.031 kB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.003897, allocations: 24.83 kB / 0.8131 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.004163, allocations: 136.5 kB / 0.8132 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.004179, allocations: 10.31 kB / 0.8132 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004193, allocations: 4.375 kB / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.004326, allocations: 96.27 kB / 0.8133 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004334, allocations: 192 / 0.8133 GB, free: 184 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.004345, allocations: 4.375 kB / 0.8133 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.004355, allocations: 6.5 kB / 0.8133 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.004401, allocations: 23.86 kB / 0.8133 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.004834, allocations: 466.4 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.004901, allocations: 54.19 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.004938, allocations: 20.69 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.004949, allocations: 8.016 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.004979, allocations: 45.91 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.004981, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.005162, allocations: 43.16 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.005209, allocations: 81.11 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.005344, allocations: 186.4 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.005359, allocations: 25.7 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.005454, allocations: 160 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.005465, allocations: 11.89 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.005508, allocations: 31.3 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.005664, allocations: 493.3 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.005686, allocations: 8 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.005717, allocations: 23.36 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.00577, allocations: 32.69 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.005774, allocations: 0 / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.639e-05/0.00587, allocations: 46.62 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.005889, allocations: 8 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.005895, allocations: 4.656 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.005913, allocations: 3.984 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.005994, allocations: 9.062 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.006002, allocations: 3.938 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.006025, allocations: 0.8438 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.006032, allocations: 4 kB / 0.815 GB, free: 14.25 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 8.888e-05/0.006121, allocations: 154.1 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.006162, allocations: 4 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.006192, allocations: 7.469 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.006197, allocations: 7.984 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.006201, allocations: 1.031 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.006206, allocations: 3.938 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.006635, allocations: 0.5402 MB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.006639, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.00667, allocations: 7.984 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.006679, allocations: 0 / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.006692, allocations: 11.94 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.971e-05/0.006712, allocations: 2.312 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.006717, allocations: 4 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.006814, allocations: 84.03 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.006839, allocations: 11.98 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.006852, allocations: 3.938 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.006866, allocations: 0 / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.006883, allocations: 0.5 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.006887, allocations: 4.531 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.006949, allocations: 141.1 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006949, allocations: 0 / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001345/0.007084, allocations: 15.89 kB / 0.816 GB, free: 13.17 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.000117/0.007201, allocations: 99.8 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.981e-05/0.00729, allocations: 24.28 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.007293, allocations: 0.6562 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-06/0.007303, allocations: 15 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.007425, allocations: 4 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.007905, allocations: 178.6 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.007943, allocations: 59.34 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.007973, allocations: 4 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.008, allocations: 8.5 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 9.41e-07/0.008001, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.002291/0.01029, allocations: 347.7 kB / 0.8167 GB, free: 12.39 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251486237859353]