Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 249.3 MB / 261.8 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009957/0.0009957, allocations: 188.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 80.27 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.958e-05/3.96e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.193, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8507, allocations: 131.3 MB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.851, allocations: 73.33 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002729/0.8537, allocations: 1.165 MB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8537, allocations: 0 / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8537, allocations: 0 / 1.021 GB, free: 2.301 MB / 0.6355 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.0003269/0.8541, allocations: 367.7 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8541, allocations: 12.03 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.8542, allocations: 7.906 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.8543, allocations: 179.8 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.8544, allocations: 7.875 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.8544, allocations: 7.812 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.8546, allocations: 95.17 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.8546, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8546, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8546, allocations: 4 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.8547, allocations: 40.94 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.8553, allocations: 462.1 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.631e-05/0.8554, allocations: 42.97 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.8554, allocations: 21.59 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-06/0.8554, allocations: 2.625 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.8554, allocations: 34.12 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8554, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001584/0.8556, allocations: 56.97 kB / 1.023 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.8557, allocations: 81.11 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.8558, allocations: 157 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.8558, allocations: 25.7 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.8559, allocations: 110.1 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.8559, allocations: 11.77 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.8559, allocations: 0 / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.856, allocations: 321.5 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.856, allocations: 7.312 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.8561, allocations: 25.52 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.8561, allocations: 7.75 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8561, allocations: 3.953 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.93e-05/0.8562, allocations: 59.67 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8562, allocations: 4.062 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8563, allocations: 7.984 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.8563, allocations: 4 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.8564, allocations: 4 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.8564, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.8564, allocations: 7.938 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.8564, allocations: 3.938 kB / 1.023 GB, free: 64 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.8565, allocations: 108.4 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.8566, allocations: 15.77 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.8566, allocations: 27.12 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.8566, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8566, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8566, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.857, allocations: 475.6 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.857, allocations: 3.984 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.857, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8571, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.8571, allocations: 7.625 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8571, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8571, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.8572, allocations: 90.39 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.8572, allocations: 89 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.8573, allocations: 32 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.8573, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.8573, allocations: 7.156 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.8573, allocations: 11.91 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.915e-05/0.8574, allocations: 127.3 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8574, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001667/0.8576, allocations: 8 kB / 1.024 GB, free: 15.04 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.8577, allocations: 99.2 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.751e-05/0.8578, allocations: 26.88 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8578, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.8578, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.858, allocations: 6.875 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.8582, allocations: 109.7 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.8585, allocations: 0.7045 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.8585, allocations: 8.422 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.8585, allocations: 11.44 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.8585, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.00218/0.8607, allocations: 462 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches