Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100 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.001332/0.001332, 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.529/1.529, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.819/2.819, allocations: 436.5 MB / 0.7104 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 8 kB / 0.8707 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8952/0.8956, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001934/0.8976, allocations: 1.554 MB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1522/1.05, allocations: 130.9 MB / 1.15 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/1.05, allocations: 4 kB / 1.15 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/1.05, allocations: 19.84 kB / 1.15 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/1.05, allocations: 75.8 kB / 1.15 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000611/1.051, allocations: 219.4 kB / 1.15 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/1.051, allocations: 171.6 kB / 1.151 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/1.051, allocations: 54.41 kB / 1.151 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/1.052, allocations: 151.6 kB / 1.151 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/1.052, allocations: 79.61 kB / 1.151 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/1.052, allocations: 4 kB / 1.151 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/1.052, allocations: 183.8 kB / 1.151 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/1.052, allocations: 31.89 kB / 1.151 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/1.052, allocations: 53.58 kB / 1.151 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/1.053, allocations: 209.5 kB / 1.151 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/1.053, allocations: 0 / 1.151 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/1.053, allocations: 0 / 1.151 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.128e-06/1.053, allocations: 0 / 1.151 GB, free: 11.05 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.0008502/1.054, allocations: 0.495 MB / 1.152 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/1.054, allocations: 11.98 kB / 1.152 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/1.054, allocations: 87.67 kB / 1.152 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/1.055, allocations: 223.9 kB / 1.152 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/1.055, allocations: 38.03 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/1.055, allocations: 12 kB / 1.152 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/1.055, allocations: 270.5 kB / 1.152 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.055, allocations: 4 kB / 1.152 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/1.055, allocations: 8 kB / 1.152 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.055, allocations: 4 kB / 1.152 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/1.056, allocations: 187.7 kB / 1.153 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/1.058, allocations: 1.192 MB / 1.154 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/1.058, allocations: 202.7 kB / 1.154 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/1.058, allocations: 4 kB / 1.154 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.058, allocations: 42.5 kB / 1.154 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/1.059, allocations: 3.938 kB / 1.154 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.002699/1.061, allocations: 0.6455 MB / 1.155 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/1.061, allocations: 55.39 kB / 1.155 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/1.062, allocations: 214.9 kB / 1.155 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.062, allocations: 29.7 kB / 1.155 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/1.062, allocations: 140 kB / 1.155 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/1.062, allocations: 39.45 kB / 1.155 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/1.062, allocations: 0 / 1.155 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.062, allocations: 330.8 kB / 1.155 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.062, allocations: 75.94 kB / 1.156 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/1.062, allocations: 134.7 kB / 1.156 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/1.063, allocations: 95.92 kB / 1.156 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.063, allocations: 0 / 1.156 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00142/1.064, allocations: 382.7 kB / 1.156 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.064, allocations: 4 kB / 1.156 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.064, allocations: 8 kB / 1.156 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.065, allocations: 161.8 kB / 1.156 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/1.065, allocations: 43.89 kB / 1.156 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/1.069, allocations: 3.052 MB / 1.159 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/1.07, allocations: 31.83 kB / 1.159 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.07, allocations: 11.98 kB / 1.159 GB, free: 2.242 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/1.07, allocations: 141.7 kB / 1.16 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/1.07, allocations: 20.05 kB / 1.16 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.071, allocations: 390.3 kB / 1.16 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.072, allocations: 3.938 kB / 1.16 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/1.072, allocations: 0 / 1.16 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.072, allocations: 8 kB / 1.16 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/1.072, allocations: 273.3 kB / 1.16 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.072, allocations: 7.938 kB / 1.16 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/1.072, allocations: 27.98 kB / 1.16 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009832/1.073, allocations: 165.5 kB / 1.16 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.073, allocations: 3.984 kB / 1.16 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/1.077, allocations: 3.096 MB / 1.163 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.077, allocations: 0 / 1.163 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/1.078, allocations: 440.6 kB / 1.164 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/1.078, allocations: 116.9 kB / 1.164 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/1.078, allocations: 7.953 kB / 1.164 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/1.078, allocations: 19.98 kB / 1.164 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/1.079, allocations: 20.09 kB / 1.164 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/1.079, allocations: 12 kB / 1.164 GB, free: 13.13 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001816/1.079, allocations: 155.2 kB / 1.164 GB, free: 12.98 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.079, allocations: 0 / 1.164 GB, free: 12.98 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004344/1.079, allocations: 79.84 kB / 1.164 GB, free: 12.9 MB / 0.92 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002073/1.079, allocations: 115.2 kB / 1.164 GB, free: 12.78 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.08, allocations: 446.3 kB / 1.165 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.08, allocations: 0 / 1.165 GB, free: 12.32 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/1.081, allocations: 361.3 kB / 1.165 GB, free: 11.94 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/1.082, allocations: 58.2 kB / 1.165 GB, free: 11.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.083, allocations: 0.501 MB / 1.166 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/1.083, allocations: 0.744 MB / 1.166 GB, free: 10.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001942/1.083, allocations: 34.12 kB / 1.166 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/1.083, allocations: 19.42 kB / 1.166 GB, free: 10.54 MB / 0.92 GB Notification: Performance of SimCode: time 7.21e-07/1.083, allocations: 0 / 1.166 GB, free: 10.54 MB / 0.92 GB Notification: Performance of Templates: time 0.009393/1.093, allocations: 4.772 MB / 1.171 GB, free: 5.812 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches