Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 249.3 MB / 261.8 MB, free: 5.715 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.001062/0.001062, allocations: 182.5 kB / 321.3 MB, free: 14.62 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.5/1.5, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009468/0.0009468, allocations: 88.36 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.821e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1913, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6615/0.8529, allocations: 131.3 MB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.8532, allocations: 68.34 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002753/0.8559, allocations: 1.168 MB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8559, allocations: 0 / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.856, allocations: 0 / 1.021 GB, free: 2.305 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.0003584/0.8563, allocations: 364.7 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8564, allocations: 8.031 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.8564, allocations: 11.91 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.8566, allocations: 183.8 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.8566, allocations: 6.812 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.8566, allocations: 7.438 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.8568, allocations: 92.47 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8568, allocations: 0 / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8568, allocations: 0 / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.8569, allocations: 4 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.8569, allocations: 46.56 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.8575, allocations: 460.5 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.6e-05/0.8576, allocations: 43.84 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.8576, allocations: 17.22 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.8576, allocations: 0 / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.8577, allocations: 33.3 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8577, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.8578, allocations: 57.3 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.8579, allocations: 81.09 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.858, allocations: 158.2 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.8581, allocations: 25.7 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.8581, allocations: 111 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.8582, allocations: 3.906 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.8582, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8583, allocations: 326.3 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.8583, allocations: 7.875 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.8583, allocations: 21.28 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.8584, allocations: 6.438 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8584, allocations: 3.953 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.699e-05/0.8585, allocations: 66.09 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8585, allocations: 4 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8585, allocations: 8.062 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8585, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.8586, allocations: 4 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8586, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.8586, allocations: 15.17 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.8587, allocations: 3.938 kB / 1.023 GB, free: 72 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.622e-05/0.8587, allocations: 112.2 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.8588, allocations: 15.77 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.8588, allocations: 16.3 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8588, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8588, allocations: 3.938 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.8588, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.8592, allocations: 478.6 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8592, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.8593, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8593, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8593, allocations: 4.062 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8593, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8593, allocations: 7.984 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.925e-05/0.8594, allocations: 90.61 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.8595, allocations: 96.86 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.8595, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.57e-05/0.8595, allocations: 8.031 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.8595, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.8595, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.8596, allocations: 126.6 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8596, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001631/0.8598, allocations: 11.94 kB / 1.024 GB, free: 15.05 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.0001207/0.8599, allocations: 99.2 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.86, allocations: 23.36 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.86, allocations: 3.938 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.86, allocations: 6.938 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.0001034/0.8601, allocations: 7.625 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.8604, allocations: 105.8 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.8607, allocations: 0.7046 MB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.8607, allocations: 4.438 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.8608, allocations: 15.38 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.8608, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.002485/0.8633, allocations: 456.1 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches