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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.00116, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003765, allocations: 8 kB / 0.8708 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8551, allocations: 153.6 MB / 1.021 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001102/0.8563, allocations: 0.5392 MB / 1.021 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.8564, allocations: 35.8 kB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.8565, allocations: 4 kB / 1.021 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.8565, allocations: 7.938 kB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.8566, allocations: 7.922 kB / 1.021 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-05/0.8566, allocations: 15.98 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.8567, allocations: 35.91 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.8569, allocations: 28.16 kB / 1.021 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.8569, allocations: 23.88 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.857, allocations: 15.86 kB / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.857, allocations: 3.984 kB / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-06/0.857, allocations: 4 kB / 1.022 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.857, allocations: 7.938 kB / 1.022 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.8571, allocations: 37.64 kB / 1.022 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.8572, allocations: 51.88 kB / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.8572, allocations: 0 / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8572, allocations: 0 / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.8572, allocations: 0 / 1.022 GB, free: 372 kB / 0.7637 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.0004056/0.8576, allocations: 373.1 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8577, allocations: 11.98 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.8577, allocations: 11.81 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.8579, allocations: 191 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8579, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.858, allocations: 12 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.8581, allocations: 100.8 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.8582, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8582, allocations: 7.922 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.8582, allocations: 4 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.8583, allocations: 35.92 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.8589, allocations: 428.7 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.8589, allocations: 49.23 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.859, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.859, allocations: 30.56 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.859, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.8592, allocations: 57.81 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.8593, allocations: 81.11 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.8595, allocations: 160.9 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.8595, allocations: 25.7 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.8596, allocations: 103.9 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.8597, allocations: 11.84 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.8597, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8598, allocations: 322.8 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.8598, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.8599, allocations: 29.66 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.8599, allocations: 7.984 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8599, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.215e-05/0.86, allocations: 57.55 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.86, allocations: 8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.86, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.8601, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.8602, allocations: 12 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8602, allocations: 8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.8602, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8602, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.8603, allocations: 117.8 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.8604, allocations: 7.906 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.8604, allocations: 11.88 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.8604, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.8605, allocations: 7.938 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8605, allocations: 4 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.8609, allocations: 466.7 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8609, allocations: 7.938 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.861, allocations: 4 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.861, allocations: 4 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.861, allocations: 7.953 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.861, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.861, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.8611, allocations: 91.61 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.8612, allocations: 92.97 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.8612, allocations: 0 / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.8612, allocations: 4 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.8613, allocations: 3.984 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.8613, allocations: 4.031 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.8614, allocations: 120.9 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8614, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002185/0.8616, allocations: 11.94 kB / 1.025 GB, free: 12.96 MB / 0.7794 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 (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.0001729/0.8618, allocations: 95.25 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.8619, allocations: 12 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8619, allocations: 7.938 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.8619, allocations: 12.12 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.8621, allocations: 9.719 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.8625, allocations: 178.7 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.8628, allocations: 0.6965 MB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.8629, allocations: 4.438 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.8629, allocations: 15.38 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8629, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.002491/0.8654, allocations: 418.5 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches