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.007973/0.007973, allocations: 95.98 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.001594/0.001594, allocations: 196.8 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.59/2.59, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 62.89 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3585, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002208/0.3608, allocations: 0.8284 MB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.361, allocations: 43.8 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.361, allocations: 0 / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.3611, allocations: 7.875 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.3612, allocations: 15.84 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.939e-05/0.3612, allocations: 19.98 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3614, allocations: 59.84 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3615, allocations: 43.97 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.3616, allocations: 23.86 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.3617, allocations: 27.86 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3617, allocations: 8 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-06/0.3617, allocations: 8 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3617, allocations: 23.8 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.3618, allocations: 35.75 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3619, allocations: 79.56 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3619, allocations: 0 / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.362, allocations: 0 / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.362, allocations: 0 / 1.089 GB, free: 292 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.0005096/0.3625, allocations: 379.1 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3625, allocations: 8.031 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.3626, allocations: 20.88 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3628, allocations: 192.1 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3628, allocations: 8.375 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3629, allocations: 4.375 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.363, allocations: 91.95 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.363, allocations: 192 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3631, allocations: 3.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3631, allocations: 3.938 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.3631, allocations: 43.97 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.3637, allocations: 432.6 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.827e-05/0.3638, allocations: 41.28 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.3639, allocations: 25.84 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3639, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3639, allocations: 30.56 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3639, allocations: 3.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001935/0.3641, allocations: 57.58 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3642, allocations: 81.05 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3643, allocations: 165.1 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3644, allocations: 25.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.3644, allocations: 104 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3645, allocations: 7.891 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3645, allocations: 21.66 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3647, allocations: 322.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.3647, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.3647, allocations: 21.72 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.3648, allocations: 33.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3648, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.028e-05/0.3649, allocations: 53.59 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3649, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3649, allocations: 3.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3649, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.365, allocations: 11.98 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.365, allocations: 8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.365, allocations: 3.953 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.365, allocations: 4 kB / 1.091 GB, free: 13.84 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 9.231e-05/0.3651, allocations: 117.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.3652, allocations: 7.953 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3652, allocations: 11.81 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3652, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3653, allocations: 3.984 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3653, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.3657, allocations: 474.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3657, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.3657, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3657, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3657, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3657, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3657, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.3658, allocations: 81.94 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3659, allocations: 89 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3659, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.366, allocations: 96 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.366, allocations: 7.969 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.366, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.379e-05/0.3661, allocations: 125.3 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3661, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001888/0.3663, allocations: 15.89 kB / 1.092 GB, free: 12.8 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.0001291/0.3664, allocations: 103.7 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.3665, allocations: 15.94 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3665, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.3665, allocations: 8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.3667, allocations: 18.53 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.3671, allocations: 158.8 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3674, allocations: 0.6924 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.3674, allocations: 8.422 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3675, allocations: 11.44 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3675, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of Templates: time 0.002735/0.3702, allocations: 461.9 kB / 1.094 GB, free: 11.27 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