Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001535/0.001536, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005201, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8677, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi): time 0.003695/0.8715, allocations: 1.587 MB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1796/1.051, allocations: 129.5 MB / 1.149 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/1.051, allocations: 0 / 1.149 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/1.052, allocations: 23.84 kB / 1.149 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/1.052, allocations: 59.83 kB / 1.149 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/1.052, allocations: 187.5 kB / 1.149 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/1.053, allocations: 128.2 kB / 1.149 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/1.053, allocations: 65.98 kB / 1.149 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/1.053, allocations: 123.7 kB / 1.149 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/1.053, allocations: 75.67 kB / 1.149 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/1.053, allocations: 4 kB / 1.149 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/1.054, allocations: 183.7 kB / 1.15 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/1.054, allocations: 27.89 kB / 1.15 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/1.054, allocations: 53.58 kB / 1.15 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/1.054, allocations: 189.5 kB / 1.15 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.054, allocations: 4 kB / 1.15 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/1.054, allocations: 0 / 1.15 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.054, allocations: 0 / 1.15 GB, free: 12.59 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008212/1.055, allocations: 483 kB / 1.15 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.055, allocations: 11.98 kB / 1.15 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/1.056, allocations: 87.67 kB / 1.15 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/1.056, allocations: 222.7 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.056, allocations: 16.33 kB / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/1.056, allocations: 16 kB / 1.151 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/1.056, allocations: 265.4 kB / 1.151 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.057, allocations: 0 / 1.151 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.057, allocations: 4 kB / 1.151 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.057, allocations: 4 kB / 1.151 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/1.057, allocations: 200.6 kB / 1.151 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/1.058, allocations: 1.009 MB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/1.059, allocations: 178.4 kB / 1.152 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/1.059, allocations: 4 kB / 1.152 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/1.059, allocations: 34.78 kB / 1.152 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 2.585e-06/1.059, allocations: 0 / 1.152 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0007198/1.06, allocations: 249.3 kB / 1.153 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/1.06, allocations: 59.41 kB / 1.153 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/1.06, allocations: 194.8 kB / 1.153 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.06, allocations: 29.7 kB / 1.153 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.06, allocations: 143.5 kB / 1.153 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/1.06, allocations: 35.45 kB / 1.153 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/1.06, allocations: 4 kB / 1.153 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.06, allocations: 322.8 kB / 1.153 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/1.061, allocations: 87.83 kB / 1.153 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/1.061, allocations: 127.7 kB / 1.154 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/1.061, allocations: 87.98 kB / 1.154 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.061, allocations: 0 / 1.154 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006147/1.062, allocations: 263.7 kB / 1.154 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.062, allocations: 16.03 kB / 1.154 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.062, allocations: 4 kB / 1.154 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.062, allocations: 4 kB / 1.154 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/1.062, allocations: 59.88 kB / 1.154 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.062, allocations: 0 / 1.154 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/1.062, allocations: 35.83 kB / 1.154 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/1.063, allocations: 15.98 kB / 1.154 GB, free: 8.113 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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.0001213/1.063, allocations: 129.7 kB / 1.154 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/1.063, allocations: 19.8 kB / 1.154 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/1.063, allocations: 294.7 kB / 1.154 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.063, allocations: 0 / 1.154 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.063, allocations: 0 / 1.154 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.063, allocations: 0 / 1.154 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/1.064, allocations: 293.4 kB / 1.155 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.064, allocations: 3.984 kB / 1.155 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/1.064, allocations: 55.89 kB / 1.155 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.064, allocations: 4 kB / 1.155 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/1.064, allocations: 0 / 1.155 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.064, allocations: 4 kB / 1.155 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.064, allocations: 3.984 kB / 1.155 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/1.065, allocations: 361.7 kB / 1.155 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.065, allocations: 120.7 kB / 1.155 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/1.065, allocations: 3.984 kB / 1.155 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/1.065, allocations: 19.98 kB / 1.155 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/1.065, allocations: 11.98 kB / 1.155 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/1.065, allocations: 7.984 kB / 1.155 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000157/1.065, allocations: 160.6 kB / 1.155 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.065, allocations: 0 / 1.155 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003278/1.066, allocations: 48 kB / 1.155 GB, free: 6.508 MB / 0.9044 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 (23): * Single equations (assignments): 23 * 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.0001924/1.066, allocations: 115.2 kB / 1.156 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005635/1.066, allocations: 207.7 kB / 1.156 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.066, allocations: 0 / 1.156 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/1.067, allocations: 124 kB / 1.156 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/1.067, allocations: 44.48 kB / 1.156 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/1.068, allocations: 470.7 kB / 1.156 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.068, allocations: 0.7362 MB / 1.157 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000286/1.068, allocations: 53.88 kB / 1.157 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/1.069, allocations: 27.41 kB / 1.157 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/1.069, allocations: 4 kB / 1.157 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of Templates: time 0.00606/1.075, allocations: 3.141 MB / 1.16 GB, free: 1.609 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches