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.001016/0.001017, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001347/0.001347, allocations: 168.7 kB / 15.95 MB, free: 204 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.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.993/2.993, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 8.625 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3635, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001135/0.3647, allocations: 0.5222 MB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.3649, allocations: 35.8 kB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.3649, allocations: 4 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.365, allocations: 3.938 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.3651, allocations: 11.92 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.198e-05/0.3651, allocations: 15.98 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3653, allocations: 59.75 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3654, allocations: 24.17 kB / 1.059 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.3655, allocations: 23.86 kB / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.3656, allocations: 19.86 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3656, allocations: 4 kB / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.3656, allocations: 0 / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3656, allocations: 11.88 kB / 1.059 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.453e-05/0.3657, allocations: 37.64 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.3658, allocations: 47.88 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3658, allocations: 0 / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3658, allocations: 0 / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3658, allocations: 0 / 1.059 GB, free: 4.492 MB / 0.8106 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.0004043/0.3662, allocations: 375.4 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3663, allocations: 8.031 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3663, allocations: 11.91 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.3666, allocations: 182.9 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3666, allocations: 8 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3666, allocations: 7.953 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3668, allocations: 95.28 kB / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3668, allocations: 4 kB / 1.059 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3668, allocations: 4 kB / 1.059 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3668, allocations: 0 / 1.059 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.3669, allocations: 39.92 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.3675, allocations: 432.6 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.057e-05/0.3676, allocations: 53.12 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.3676, allocations: 21.84 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.3676, allocations: 3.984 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3676, allocations: 34.52 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 3.547e-06/0.3677, allocations: 4 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001843/0.3678, allocations: 57.53 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3679, allocations: 77.11 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3681, allocations: 164.1 kB / 1.06 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3681, allocations: 25.7 kB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.3682, allocations: 104 kB / 1.06 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.3682, allocations: 7.906 kB / 1.06 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.3682, allocations: 0 / 1.06 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3683, allocations: 327.1 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.3683, allocations: 0 / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.3684, allocations: 25.66 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.3684, allocations: 4 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3684, allocations: 0 / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.956e-05/0.3685, allocations: 57.59 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3685, allocations: 9.719 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3685, allocations: 8.016 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3686, allocations: 3.938 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.3686, allocations: 4 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3687, allocations: 11.92 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.3687, allocations: 7.844 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3687, allocations: 0 / 1.061 GB, free: 2.109 MB / 0.8106 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 7.237e-05/0.3688, allocations: 113.8 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3688, allocations: 7.906 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3688, allocations: 11.88 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3689, allocations: 7.953 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3689, allocations: 4 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3689, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.3693, allocations: 470.8 kB / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3693, allocations: 0 / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3693, allocations: 7.953 kB / 1.061 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3693, allocations: 4 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3694, allocations: 8 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3694, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3694, allocations: 0 / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.52e-05/0.3695, allocations: 77.83 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.3695, allocations: 85.02 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3695, allocations: 3.953 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.3696, allocations: 12.03 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3696, allocations: 0 / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3696, allocations: 3.984 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.3697, allocations: 119.5 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3697, allocations: 0 / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000187/0.3699, allocations: 8 kB / 1.062 GB, free: 1.074 MB / 0.8106 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.0001299/0.37, allocations: 102.3 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.3701, allocations: 19.94 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3701, allocations: 4 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.3701, allocations: 8 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.3703, allocations: 0 / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3706, allocations: 190.6 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3709, allocations: 0.6926 MB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.371, allocations: 12.41 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.371, allocations: 11.44 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.371, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.00253/0.3736, allocations: 412 kB / 1.063 GB, free: 15.57 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches