Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.008727/0.008727, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001656/0.001656, allocations: 190.1 kB / 16.67 MB, free: 5.93 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.42, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002704/0.4228, allocations: 0.8277 MB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000172/0.423, allocations: 47.78 kB / 1.167 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.4231, allocations: 4 kB / 1.167 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.4231, allocations: 7.875 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.4232, allocations: 3.938 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.276e-05/0.4233, allocations: 23.97 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.4234, allocations: 59.78 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.4236, allocations: 43.98 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.4237, allocations: 23.86 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.4238, allocations: 31.8 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.4238, allocations: 4 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.4238, allocations: 12 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.4239, allocations: 23.84 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.4239, allocations: 31.81 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.4241, allocations: 75.52 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4241, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4241, allocations: 4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.4241, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 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.0005443/0.4247, allocations: 375.1 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4247, allocations: 12.03 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.4248, allocations: 12.84 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.4251, allocations: 208.2 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4251, allocations: 384 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4251, allocations: 12.38 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4253, allocations: 89.83 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4253, allocations: 192 / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4254, allocations: 7.938 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.4254, allocations: 4 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/0.4255, allocations: 39.92 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.4261, allocations: 440.7 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.4262, allocations: 37.25 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.4262, allocations: 17.78 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.4262, allocations: 4 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4263, allocations: 34.56 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4263, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.4265, allocations: 61.52 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4265, allocations: 77.11 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.4267, allocations: 156.3 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.4267, allocations: 29.7 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.4268, allocations: 104.1 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.4268, allocations: 11.89 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.4269, allocations: 17.72 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.427, allocations: 318.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.427, allocations: 7.938 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.427, allocations: 17.72 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.4271, allocations: 25.72 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4271, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.747e-05/0.4272, allocations: 69.53 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4272, allocations: 4 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4272, allocations: 3.938 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4272, allocations: 4 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.4273, allocations: 4.094 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4273, allocations: 8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.4274, allocations: 4 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.4274, allocations: 7.969 kB / 1.17 GB, free: 3.152 MB / 0.92 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.513e-05/0.4275, allocations: 113.8 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.4275, allocations: 7.953 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.4276, allocations: 15.81 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4276, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4276, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4276, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.428, allocations: 474.7 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.428, allocations: 3.984 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.4281, allocations: 7.938 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4281, allocations: 3.938 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4281, allocations: 4 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4281, allocations: 0 / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4281, allocations: 0 / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.4282, allocations: 81.95 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.4283, allocations: 89.05 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4283, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.4283, allocations: 4 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.4283, allocations: 4 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4283, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.595e-05/0.4284, allocations: 128.1 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4284, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001874/0.4286, allocations: 15.88 kB / 1.171 GB, free: 2.102 MB / 0.92 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.0001277/0.4288, allocations: 99.23 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.4289, allocations: 20 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4289, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.4289, allocations: 7.938 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.4291, allocations: 16.19 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.4294, allocations: 162.5 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.4297, allocations: 0.6885 MB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.4298, allocations: 8.422 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.4298, allocations: 15.44 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.4298, allocations: 0 / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of Templates: time 0.002945/0.4328, allocations: 456.5 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches