Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.369/2.369, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.0012/0.0012, allocations: 179.9 kB / 0.4902 GB, free: 2.223 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.645/1.645, allocations: 223.2 MB / 0.7992 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 100.2 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003849, allocations: 10.12 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2846, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.4756, allocations: 149.6 MB / 1.375 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4759, allocations: 63.97 kB / 1.375 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002763/0.4787, allocations: 1.087 MB / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4787, allocations: 0 / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.4788, allocations: 224 / 1.376 GB, free: 2.719 MB / 0.8698 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.0004441/0.4792, allocations: 371.9 kB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.4793, allocations: 15.97 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.4793, allocations: 11.86 kB / 1.377 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.4795, allocations: 174.9 kB / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4796, allocations: 8 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4796, allocations: 8 kB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.4798, allocations: 89.25 kB / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4799, allocations: 0 / 1.377 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4799, allocations: 12 kB / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4799, allocations: 0 / 1.377 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.48, allocations: 39.92 kB / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.4807, allocations: 456.5 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.4808, allocations: 37.41 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.4808, allocations: 0 / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4808, allocations: 34.56 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4808, allocations: 0 / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001866/0.481, allocations: 53.55 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4811, allocations: 81.11 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4812, allocations: 146.8 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4813, allocations: 25.7 kB / 1.378 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.4813, allocations: 108 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.4814, allocations: 7.844 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.4814, allocations: 0 / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4815, allocations: 327.1 kB / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.4815, allocations: 4 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.4816, allocations: 17.72 kB / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.4816, allocations: 13.55 kB / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4816, allocations: 0 / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.449e-05/0.4817, allocations: 65.53 kB / 1.378 GB, free: 424 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4817, allocations: 4 kB / 1.378 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4818, allocations: 8 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4818, allocations: 0 / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.4819, allocations: 8 kB / 1.378 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4819, allocations: 3.938 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.4819, allocations: 7.906 kB / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4819, allocations: 0 / 1.378 GB, free: 392 kB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.482, allocations: 118.6 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.4821, allocations: 11.89 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.4821, allocations: 11.88 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4821, allocations: 4 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4821, allocations: 0 / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4821, allocations: 0 / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.4826, allocations: 470.8 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4826, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.4827, allocations: 7.984 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4827, allocations: 0 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4827, allocations: 64 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4827, allocations: 8 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4827, allocations: 3.938 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.4828, allocations: 83.58 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.4829, allocations: 93 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4829, allocations: 0 / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.483, allocations: 8.031 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.483, allocations: 4 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.483, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.902e-05/0.4831, allocations: 121.7 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.4831, allocations: 0 / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001827/0.4833, allocations: 15.95 kB / 1.379 GB, free: 15.33 MB / 0.8855 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 (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.0001626/0.4835, allocations: 103.2 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.4836, allocations: 19.94 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4836, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.4836, allocations: 8 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.4837, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.4842, allocations: 194.7 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.4845, allocations: 0.6926 MB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.4845, allocations: 12.5 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.4846, allocations: 11.44 kB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.4846, allocations: 0 / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.002371/0.4869, allocations: 415.8 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches