Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00706/0.00706, allocations: 95.48 kB / 15.73 MB, free: 6.039 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.001269/0.001269, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3791, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002798/0.3819, allocations: 0.8311 MB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.382, allocations: 47.78 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.3821, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.3822, allocations: 7.875 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3823, allocations: 7.922 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.633e-05/0.3823, allocations: 19.98 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3825, allocations: 67.72 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3827, allocations: 35.86 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.3827, allocations: 27.86 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.3828, allocations: 31.84 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3828, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.3828, allocations: 12 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.3829, allocations: 15.92 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.3829, allocations: 35.75 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3831, allocations: 75.56 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3831, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3831, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3831, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 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.0006077/0.3837, allocations: 380.5 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.3837, allocations: 8.031 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.3838, allocations: 16.84 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.3842, allocations: 196.2 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3842, allocations: 384 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.3842, allocations: 12.38 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3844, allocations: 91.86 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3844, allocations: 192 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3845, allocations: 3.938 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3845, allocations: 4 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.3846, allocations: 47.91 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.3852, allocations: 428.7 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.3853, allocations: 41.34 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.3853, allocations: 17.78 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.3853, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3854, allocations: 38.56 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.3854, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.3856, allocations: 57.52 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3856, allocations: 77.11 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3858, allocations: 166.4 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3858, allocations: 25.7 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3859, allocations: 100.1 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.3859, allocations: 11.94 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3859, allocations: 17.67 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.386, allocations: 326.8 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.3861, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.3861, allocations: 25.66 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.3861, allocations: 29.64 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3861, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.462e-05/0.3862, allocations: 61.59 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3862, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.3862, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3863, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.3863, allocations: 12.05 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3863, allocations: 8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.3864, allocations: 8.031 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.3864, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 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 9.778e-05/0.3865, allocations: 113.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.3865, allocations: 11.94 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.3866, allocations: 15.81 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3866, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3866, allocations: 7.922 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3866, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.387, allocations: 470.8 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.387, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.387, allocations: 7.938 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.387, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.387, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.387, allocations: 4 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.387, allocations: 0 / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.3871, allocations: 85.94 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3872, allocations: 85.06 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3872, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.157e-05/0.3872, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.3872, allocations: 3.984 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.3872, allocations: 4 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.632e-05/0.3873, allocations: 133 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3873, allocations: 0 / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002596/0.3876, allocations: 4 kB / 1.225 GB, free: 9.121 MB / 0.9825 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.0001516/0.3877, allocations: 103.2 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.3878, allocations: 12 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3878, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.3878, allocations: 12.06 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.388, allocations: 18.19 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.3883, allocations: 166.6 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3886, allocations: 0.6885 MB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.3887, allocations: 12.42 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.3887, allocations: 7.438 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3887, allocations: 11.94 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of Templates: time 0.002725/0.3914, allocations: 458.9 kB / 1.226 GB, free: 7.582 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches