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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 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: 176.9 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.78 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.024e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8592/1.119, allocations: 148.1 MB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.12, allocations: 64.25 kB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004269/1.124, allocations: 1.086 MB / 1.352 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.194e-06/1.124, allocations: 0 / 1.352 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.124, allocations: 3.844 kB / 1.352 GB, free: 34.07 MB / 0.8386 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.0003437/1.124, allocations: 352.4 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.124, allocations: 12.19 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/1.124, allocations: 8.547 kB / 1.352 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.125, allocations: 179.8 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.125, allocations: 3.938 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/1.125, allocations: 7.688 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001513/1.125, allocations: 38.62 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/1.125, allocations: 79.86 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.125, allocations: 0 / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.125, allocations: 0 / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.125, allocations: 2.625 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/1.126, allocations: 414.9 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/1.126, allocations: 35.45 kB / 1.353 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/1.126, allocations: 23.5 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/1.126, allocations: 0.7031 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.126, allocations: 35.88 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.126, allocations: 0 / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002002/1.126, allocations: 43.73 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.126, allocations: 78.45 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.126, allocations: 120.6 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/1.126, allocations: 25.7 kB / 1.353 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/1.126, allocations: 108.2 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-06/1.126, allocations: 5.766 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.126, allocations: 0 / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.127, allocations: 318.1 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/1.127, allocations: 4 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/1.127, allocations: 23.2 kB / 1.354 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/1.127, allocations: 12.28 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.127, allocations: 0 / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/1.127, allocations: 53.94 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.127, allocations: 5.781 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.127, allocations: 1.344 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.127, allocations: 1.25 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/1.127, allocations: 11.81 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.127, allocations: 2.562 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/1.127, allocations: 10 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/1.127, allocations: 1.25 kB / 1.354 GB, free: 32.25 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/1.127, allocations: 105.6 kB / 1.354 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/1.127, allocations: 11.12 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/1.127, allocations: 7.797 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.127, allocations: 0 / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.127, allocations: 1.281 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.127, allocations: 0.7031 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/1.128, allocations: 448.5 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.128, allocations: 0 / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/1.128, allocations: 4.531 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.128, allocations: 5.375 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.128, allocations: 1.062 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.128, allocations: 5.281 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.128, allocations: 0.5625 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/1.128, allocations: 88.52 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/1.128, allocations: 83.7 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/1.128, allocations: 1.844 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/1.128, allocations: 9.266 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/1.128, allocations: 1.953 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/1.128, allocations: 3.422 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.087e-05/1.128, allocations: 99.86 kB / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.7e-07/1.128, allocations: 0 / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003272/1.129, allocations: 11.66 kB / 1.354 GB, free: 31.41 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/1.129, allocations: 97.52 kB / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001042/1.129, allocations: 13.56 kB / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.129, allocations: 0 / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/1.129, allocations: 11.66 kB / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/1.129, allocations: 12.97 kB / 1.355 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/1.129, allocations: 100.5 kB / 1.355 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/1.13, allocations: 0.6961 MB / 1.355 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.947e-05/1.13, allocations: 4.312 kB / 1.355 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/1.13, allocations: 10.06 kB / 1.355 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.13, allocations: 0 / 1.355 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of Templates: time 0.002885/1.133, allocations: 292.7 kB / 1.356 GB, free: 30.46 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches