Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 187.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009577/0.0009575, allocations: 95.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 8.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.257, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.4564, allocations: 133.1 MB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4568, allocations: 83.94 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007424/0.4642, allocations: 2.226 MB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4642, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.4643, allocations: 4 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005573/0.4648, allocations: 391.1 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4649, allocations: 8.031 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.4653, allocations: 27.88 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4655, allocations: 178.9 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4655, allocations: 4 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.4655, allocations: 4 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.4658, allocations: 93.62 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4658, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4658, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4659, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.4662, allocations: 91.86 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.4669, allocations: 356.4 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.4673, allocations: 94.58 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.4673, allocations: 4 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4673, allocations: 30.56 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.4674, allocations: 3.938 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0005304/0.4679, allocations: 145.7 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4679, allocations: 51.41 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.468, allocations: 113 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.4681, allocations: 25.7 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.4681, allocations: 95.97 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.4682, allocations: 19.81 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.4682, allocations: 0 / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4683, allocations: 311.5 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4684, allocations: 35.97 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4686, allocations: 39.97 kB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4687, allocations: 35.97 kB / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4687, allocations: 0 / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000322/0.4691, allocations: 117.6 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4691, allocations: 4 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4691, allocations: 0 / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4691, allocations: 0 / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4693, allocations: 35.92 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4693, allocations: 3.938 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4694, allocations: 15.84 kB / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.4694, allocations: 4.172 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 0.0001/0.4696, allocations: 113.8 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.4696, allocations: 4 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.4696, allocations: 7.906 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4696, allocations: 8 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4696, allocations: 3.953 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4697, allocations: 0 / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.4698, allocations: 177.6 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4699, allocations: 0 / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.47, allocations: 19.98 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.47, allocations: 0 / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.47, allocations: 3.984 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.47, allocations: 0 / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.47, allocations: 3.938 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.4705, allocations: 215.5 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.4705, allocations: 93.05 kB / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4705, allocations: 0 / 1.035 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4707, allocations: 11.98 kB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4707, allocations: 0 / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.4707, allocations: 7.984 kB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.4708, allocations: 99.64 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4708, allocations: 0 / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002487/0.4711, allocations: 23.95 kB / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.000232/0.4713, allocations: 127.2 kB / 1.035 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.4717, allocations: 75.94 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4717, allocations: 0 / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4718, allocations: 39.91 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.4721, allocations: 19.17 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.4726, allocations: 198.5 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4729, allocations: 0.6887 MB / 1.036 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.4731, allocations: 16.12 kB / 1.036 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.4731, allocations: 15.42 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of SimCode: time 2.234e-06/0.4731, allocations: 0 / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of Templates: time 0.003769/0.4769, allocations: 1.038 MB / 1.038 GB, free: 2.676 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_h_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches