Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.008593/0.008593, allocations: 101.2 kB / 15.73 MB, free: 6.02 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.001317/0.001317, allocations: 194.6 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.598/2.598, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 64.11 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002425/1.103, allocations: 0.8336 MB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001769/1.103, allocations: 35.8 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/1.103, allocations: 0 / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/1.103, allocations: 11.86 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/1.103, allocations: 7.938 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.672e-05/1.104, allocations: 19.98 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/1.104, allocations: 67.77 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/1.104, allocations: 43.97 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/1.104, allocations: 19.88 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/1.104, allocations: 35.84 kB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/1.104, allocations: 4 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/1.104, allocations: 8 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/1.104, allocations: 11.94 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/1.104, allocations: 39.73 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/1.104, allocations: 71.22 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.104, allocations: 4 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.013e-06/1.104, allocations: 0 / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.104, allocations: 0 / 1.168 GB, free: 2.648 MB / 0.8887 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.0005811/1.105, allocations: 384.1 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.105, allocations: 16.86 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/1.105, allocations: 12.84 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/1.105, allocations: 196.2 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/1.105, allocations: 4.375 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/1.105, allocations: 8.375 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/1.106, allocations: 90.39 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.106, allocations: 4.172 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/1.106, allocations: 7.938 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.106, allocations: 4 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/1.106, allocations: 43.86 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/1.106, allocations: 432.6 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/1.107, allocations: 53.33 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/1.107, allocations: 17.78 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/1.107, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.107, allocations: 34.56 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.107, allocations: 0 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002358/1.107, allocations: 53.75 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.107, allocations: 85.12 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/1.107, allocations: 156.9 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.107, allocations: 25.7 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/1.107, allocations: 108 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/1.107, allocations: 7.953 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/1.107, allocations: 21.7 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.108, allocations: 314.8 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/1.108, allocations: 11.98 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/1.108, allocations: 17.72 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/1.108, allocations: 25.72 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.108, allocations: 4 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.486e-05/1.108, allocations: 65.53 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.108, allocations: 4 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.108, allocations: 8 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.108, allocations: 4 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/1.108, allocations: 7.938 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/1.108, allocations: 0 / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/1.108, allocations: 7.938 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/1.108, allocations: 0 / 1.17 GB, free: 204 kB / 0.8887 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 0.0001045/1.108, allocations: 113.8 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/1.108, allocations: 11.89 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/1.108, allocations: 19.8 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.108, allocations: 4 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.108, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.108, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/1.109, allocations: 470.7 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.109, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/1.109, allocations: 8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.109, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.109, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.109, allocations: 8.047 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.109, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/1.109, allocations: 77.83 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/1.109, allocations: 89.05 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/1.109, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/1.109, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/1.109, allocations: 11.97 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/1.109, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001199/1.109, allocations: 121.9 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/1.109, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002164/1.109, allocations: 8 kB / 1.171 GB, free: 15.15 MB / 0.9044 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.0001323/1.11, allocations: 95.25 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.725e-05/1.11, allocations: 19.98 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.11, allocations: 4.125 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/1.11, allocations: 11.94 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/1.11, allocations: 10.59 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/1.11, allocations: 162.5 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.11, allocations: 0.6963 MB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.192e-05/1.11, allocations: 12.64 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/1.111, allocations: 11.44 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 1.473e-06/1.111, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.002573/1.113, allocations: 464.5 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches