Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009155/0.009164, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001639/0.001639, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 63.84 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3584, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002668/0.3612, allocations: 0.8215 MB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.3614, allocations: 47.78 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.3615, allocations: 4 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.3615, allocations: 11.86 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3617, allocations: 3.938 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.312e-05/0.3617, allocations: 19.98 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3619, allocations: 67.78 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3621, allocations: 47.94 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.3621, allocations: 23.88 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.3622, allocations: 27.84 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3623, allocations: 7.938 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.3623, allocations: 8 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.3623, allocations: 15.94 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3624, allocations: 35.73 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.3625, allocations: 83.58 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3625, allocations: 4 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3625, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.3626, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 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.0005545/0.3631, allocations: 371.3 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3632, allocations: 8.031 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3632, allocations: 12.75 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3635, allocations: 200.1 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3635, allocations: 8.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3635, allocations: 8.375 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3637, allocations: 89.36 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3638, allocations: 192 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3638, allocations: 7.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3638, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.606e-05/0.3639, allocations: 39.92 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.3645, allocations: 436.5 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.3646, allocations: 45.27 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.3647, allocations: 13.84 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.3647, allocations: 4 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3647, allocations: 38.56 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3647, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002126/0.365, allocations: 53.48 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.365, allocations: 85.09 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3652, allocations: 151.5 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3652, allocations: 29.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.3653, allocations: 104.3 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.3653, allocations: 11.78 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3654, allocations: 21.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3655, allocations: 314.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.3655, allocations: 7.984 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.3656, allocations: 21.72 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.3656, allocations: 25.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3656, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001033/0.3657, allocations: 61.53 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3658, allocations: 8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3658, allocations: 4.031 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.3658, allocations: 7.922 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.3659, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3659, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.366, allocations: 7.844 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.366, allocations: 4.062 kB / 1.091 GB, free: 13.82 MB / 0.8575 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 8.637e-05/0.3661, allocations: 113.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.3661, allocations: 11.89 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3662, allocations: 19.75 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3662, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3662, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3662, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.3666, allocations: 470.8 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3666, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.3667, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3667, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3667, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3667, allocations: 3.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3667, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.084e-05/0.3668, allocations: 81.91 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3669, allocations: 89 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3669, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.3669, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.3669, allocations: 7.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3669, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.827e-05/0.367, allocations: 121.3 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.425e-06/0.3671, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002079/0.3673, allocations: 15.97 kB / 1.092 GB, free: 12.77 MB / 0.8575 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.0001411/0.3674, allocations: 95.78 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.3675, allocations: 19.98 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3675, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.3676, allocations: 7.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3677, allocations: 16.34 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.3681, allocations: 170.3 kB / 1.092 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3684, allocations: 0.6924 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3685, allocations: 4.438 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.3685, allocations: 11.44 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.3685, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.003001/0.3715, allocations: 469.9 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches