Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0007939/0.0007939, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 184.2 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.793/2.793, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003722, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.6659, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001376/0.6673, allocations: 0.5471 MB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.6675, allocations: 39.78 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.6676, allocations: 4 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.6676, allocations: 3.938 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.6677, allocations: 7.938 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.363e-05/0.6678, allocations: 19.98 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.6679, allocations: 55.84 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.6681, allocations: 31.97 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.6681, allocations: 27.81 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.6682, allocations: 23.8 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.6682, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.6683, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.6683, allocations: 11.91 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.6683, allocations: 57.45 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.6684, allocations: 45.86 kB / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6685, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6685, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6685, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.7794 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.0004266/0.6689, allocations: 371.2 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.669, allocations: 8.031 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.669, allocations: 8.844 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.6692, allocations: 204.1 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6693, allocations: 4.375 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.6693, allocations: 12.36 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.6695, allocations: 91.89 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6695, allocations: 4.188 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.6695, allocations: 7.938 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6695, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/0.6696, allocations: 35.98 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.6702, allocations: 448.5 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.6703, allocations: 37.22 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.6703, allocations: 13.78 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.6704, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6704, allocations: 38.59 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.6704, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000189/0.6706, allocations: 61.47 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.6706, allocations: 77.11 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.6708, allocations: 160.5 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.6708, allocations: 29.7 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.6709, allocations: 104 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.6709, allocations: 7.906 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.671, allocations: 13.97 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6711, allocations: 318.8 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.6711, allocations: 8 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.6711, allocations: 17.66 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.6712, allocations: 33.66 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.6712, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.564e-05/0.6713, allocations: 57.59 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6713, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6713, allocations: 11.88 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6713, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.6714, allocations: 7.938 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.6714, allocations: 7.969 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.6715, allocations: 7.906 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.6715, allocations: 4 kB / 1.027 GB, free: 12.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/0.6716, allocations: 109.9 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.6716, allocations: 15.91 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.6716, allocations: 11.81 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6717, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6717, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6717, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.6721, allocations: 474.8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6721, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.6721, allocations: 4.062 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6721, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.6721, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6721, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6721, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.708e-05/0.6722, allocations: 81.77 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.6723, allocations: 96.98 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.6723, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.6723, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.6724, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.6724, allocations: 3.984 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.6725, allocations: 115.3 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6725, allocations: 0 / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001947/0.6727, allocations: 8 kB / 1.028 GB, free: 11.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.6728, allocations: 111.2 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.6729, allocations: 15.94 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6729, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.6729, allocations: 11.94 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.6731, allocations: 11.94 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.6735, allocations: 206.5 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.6737, allocations: 0.6887 MB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.6737, allocations: 11.44 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6737, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002552/0.6763, allocations: 0.8599 MB / 1.029 GB, free: 9.531 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches