Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0016/0.0016, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001746/0.001746, allocations: 161 kB / 23.81 MB, free: 0.7578 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.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.911/1.911, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 1.094 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.914e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001462/0.001481, allocations: 0.825 MB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.00161, allocations: 48.62 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.001669, allocations: 0.5625 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.001709, allocations: 7.875 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.001788, allocations: 12.55 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.152e-05/0.00183, allocations: 15.98 kB / 0.8124 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.001925, allocations: 68.73 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.002047, allocations: 27.92 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.002115, allocations: 36.55 kB / 0.8126 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.002168, allocations: 23.91 kB / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.002187, allocations: 4.875 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.002196, allocations: 8 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.002232, allocations: 13 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.002262, allocations: 23.91 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.249e-05/0.002354, allocations: 51.7 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002356, allocations: 1.594 kB / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002357, allocations: 0 / 0.8127 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.002361, allocations: 0 / 0.8127 GB, free: 0.6016 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.0004213/0.002782, allocations: 404.3 kB / 0.8131 GB, free: 172 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.002822, allocations: 13.55 kB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.002863, allocations: 16.89 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.003029, allocations: 132.5 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.003041, allocations: 8.375 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.003056, allocations: 9.594 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.003177, allocations: 85.52 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.003188, allocations: 192 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.0032, allocations: 9.906 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.003209, allocations: 384 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.003252, allocations: 27.86 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.003661, allocations: 463 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.003786, allocations: 54.16 kB / 0.8138 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.003817, allocations: 24.45 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.003826, allocations: 4.75 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.00385, allocations: 37.39 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.003852, allocations: 4.578 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.003997, allocations: 46.94 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.004032, allocations: 77.11 kB / 0.814 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.004135, allocations: 194.8 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.004145, allocations: 29.64 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.004208, allocations: 158.7 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.004216, allocations: 7.891 kB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.004247, allocations: 27.36 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.004363, allocations: 497.4 kB / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.004375, allocations: 0 / 0.8149 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.004397, allocations: 31.3 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.004427, allocations: 24.28 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004429, allocations: 0.5 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.027e-05/0.004499, allocations: 58.14 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.004517, allocations: 4.562 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.004523, allocations: 5.188 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.00454, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.004591, allocations: 8 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.004599, allocations: 7.922 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.004615, allocations: 4.75 kB / 0.815 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.004619, allocations: 0 / 0.815 GB, free: 13.94 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 6.25e-05/0.004681, allocations: 159.2 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.004705, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.004729, allocations: 15.45 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004731, allocations: 0 / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.004736, allocations: 4 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.004739, allocations: 3.938 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.005155, allocations: 0.5465 MB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005156, allocations: 0.7188 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.005168, allocations: 8.438 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00517, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005176, allocations: 4.75 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005177, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005178, allocations: 0.9375 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.946e-05/0.005237, allocations: 88.08 kB / 0.8158 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.005252, allocations: 5.25 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.005263, allocations: 7.938 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.005271, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.005284, allocations: 0.9688 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005286, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.005334, allocations: 147 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005335, allocations: 2.312 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001357/0.00547, allocations: 15.89 kB / 0.816 GB, free: 12.86 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 7.169e-05/0.005542, allocations: 101.9 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.523e-05/0.005617, allocations: 23.12 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.005619, allocations: 0 / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-06/0.005628, allocations: 15.62 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.00574, allocations: 6.406 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.006005, allocations: 170.7 kB / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.00604, allocations: 63.34 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.006065, allocations: 1.125 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.006089, allocations: 12.5 kB / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.00609, allocations: 0 / 0.8164 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.001971/0.008061, allocations: 344.5 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.403621732722968]