Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01187/0.01187, allocations: 98.89 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.002575/0.002575, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.744/2.744, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3632, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001886/0.3651, allocations: 0.835 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.892e-05/0.3652, allocations: 35.86 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3652, allocations: 3.938 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.3653, allocations: 7.922 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.3653, allocations: 7.875 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.298e-05/0.3654, allocations: 19.98 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3655, allocations: 63.83 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3656, allocations: 43.8 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.3657, allocations: 27.88 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.3658, allocations: 27.84 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3658, allocations: 7.984 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.3658, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.3658, allocations: 15.92 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3658, allocations: 35.75 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.366, allocations: 71.59 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.366, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.366, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.366, allocations: 0 / 1.222 GB, free: 12.59 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.0003984/0.3664, allocations: 383.1 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3664, allocations: 8.031 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3665, allocations: 12.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3666, allocations: 196.2 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3667, allocations: 384 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3667, allocations: 20.25 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3668, allocations: 91.86 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3668, allocations: 4.188 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3668, allocations: 3.938 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3668, allocations: 4 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.3669, allocations: 43.91 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.3674, allocations: 428.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.3675, allocations: 49.23 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.3675, allocations: 13.78 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.3675, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3675, allocations: 38.56 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3675, allocations: 0 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.3677, allocations: 61.73 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3678, allocations: 77.11 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3679, allocations: 164.6 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3679, allocations: 25.7 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.368, allocations: 96.09 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.368, allocations: 11.94 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.368, allocations: 21.67 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3681, allocations: 314.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.3681, allocations: 12.02 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.3682, allocations: 21.66 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.3682, allocations: 25.66 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3682, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.919e-05/0.3683, allocations: 65.58 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3683, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3683, allocations: 8 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3683, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.3684, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3684, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.3684, allocations: 11.94 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3684, allocations: 0 / 1.224 GB, free: 10.14 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 7.581e-05/0.3685, allocations: 113.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.3685, allocations: 11.94 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3686, allocations: 15.81 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3686, allocations: 4 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3686, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3686, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3689, allocations: 474.7 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3689, allocations: 0 / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3689, allocations: 11.94 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.369, allocations: 3.984 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.369, allocations: 4.062 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.369, allocations: 7.938 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.369, allocations: 0 / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.221e-05/0.369, allocations: 73.89 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3691, allocations: 89.05 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3691, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.3691, allocations: 8.031 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.3692, allocations: 4 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3692, allocations: 0 / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.963e-05/0.3692, allocations: 121.1 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3692, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001845/0.3694, allocations: 8 kB / 1.225 GB, free: 9.098 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.0001115/0.3695, allocations: 99.23 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.3696, allocations: 23.98 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3696, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.3696, allocations: 8 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.3698, allocations: 17.84 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.37, allocations: 166.6 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3703, allocations: 0.6965 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.3703, allocations: 8.422 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.3703, allocations: 11.44 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3703, allocations: 0 / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.002242/0.3726, allocations: 460.6 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches