Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 252 MB / 266.9 MB, free: 11.07 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.001114/0.001114, allocations: 183.4 kB / 326.5 MB, free: 2.277 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.879/1.879, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008759/0.0008758, allocations: 95.86 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004218, allocations: 8.938 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2453, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.667/4.913, allocations: 2.175 GB / 3.075 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/4.913, allocations: 85.55 kB / 3.075 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5681/5.481, allocations: 57.07 MB / 3.131 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/5.481, allocations: 4 kB / 3.131 GB, free: 315.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.216e-05/5.481, allocations: 0 / 3.131 GB, free: 315.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007724/5.482, allocations: 479 kB / 3.131 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/5.482, allocations: 8.031 kB / 3.131 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/5.483, allocations: 51.84 kB / 3.131 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/5.483, allocations: 202.9 kB / 3.132 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/5.483, allocations: 11.94 kB / 3.132 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/5.483, allocations: 8 kB / 3.132 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/5.483, allocations: 203.5 kB / 3.132 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/5.484, allocations: 0 / 3.132 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/5.484, allocations: 4 kB / 3.132 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/5.484, allocations: 4 kB / 3.132 GB, free: 314.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/5.484, allocations: 167.7 kB / 3.132 GB, free: 314 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/5.485, allocations: 0.8204 MB / 3.133 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/5.485, allocations: 142.5 kB / 3.133 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/5.485, allocations: 4 kB / 3.133 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/5.485, allocations: 42.5 kB / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/5.485, allocations: 0 / 3.133 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.001796/5.487, allocations: 495.1 kB / 3.134 GB, free: 312.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/5.487, allocations: 51.41 kB / 3.134 GB, free: 312.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/5.487, allocations: 121.7 kB / 3.134 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/5.487, allocations: 33.64 kB / 3.134 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/5.487, allocations: 115.9 kB / 3.134 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/5.487, allocations: 23.64 kB / 3.134 GB, free: 312 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/5.487, allocations: 4 kB / 3.134 GB, free: 312 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/5.488, allocations: 326.8 kB / 3.134 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/5.488, allocations: 79.94 kB / 3.134 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/5.488, allocations: 126.1 kB / 3.134 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/5.488, allocations: 91.91 kB / 3.134 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.488, allocations: 4 kB / 3.134 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009679/5.489, allocations: 302.4 kB / 3.135 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/5.489, allocations: 4 kB / 3.135 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/5.489, allocations: 0 / 3.135 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/5.49, allocations: 88.89 kB / 3.135 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/5.49, allocations: 51.89 kB / 3.135 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/5.492, allocations: 1.559 MB / 3.136 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/5.492, allocations: 39.77 kB / 3.136 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/5.492, allocations: 4 kB / 3.136 GB, free: 309.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/5.492, allocations: 117.8 kB / 3.137 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/5.492, allocations: 11.91 kB / 3.137 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/5.493, allocations: 336.8 kB / 3.137 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/5.493, allocations: 4 kB / 3.137 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/5.493, allocations: 0 / 3.137 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/5.493, allocations: 3.984 kB / 3.137 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/5.493, allocations: 237.4 kB / 3.137 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/5.493, allocations: 4 kB / 3.137 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/5.494, allocations: 39.89 kB / 3.137 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/5.494, allocations: 88.7 kB / 3.137 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/5.494, allocations: 15.94 kB / 3.137 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/5.496, allocations: 1.579 MB / 3.139 GB, free: 306.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/5.496, allocations: 0 / 3.139 GB, free: 306.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/5.497, allocations: 404 kB / 3.139 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/5.497, allocations: 88.95 kB / 3.139 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/5.497, allocations: 0 / 3.139 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/5.497, allocations: 23.97 kB / 3.139 GB, free: 306 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/5.497, allocations: 11.98 kB / 3.139 GB, free: 306 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/5.497, allocations: 11.98 kB / 3.139 GB, free: 306 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.626e-05/5.497, allocations: 105.3 kB / 3.139 GB, free: 305.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/5.497, allocations: 0 / 3.139 GB, free: 305.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005346/5.498, allocations: 87.98 kB / 3.14 GB, free: 305.8 MB / 0.8855 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008586/5.499, allocations: 0.5971 MB / 3.14 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000877/5.499, allocations: 330.7 kB / 3.14 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.499, allocations: 0 / 3.14 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/5.5, allocations: 250.5 kB / 3.141 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/5.5, allocations: 23.94 kB / 3.141 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/5.501, allocations: 351.3 kB / 3.141 GB, free: 304.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/5.501, allocations: 0.7126 MB / 3.142 GB, free: 303.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000178/5.501, allocations: 36.8 kB / 3.142 GB, free: 303.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/5.501, allocations: 19.42 kB / 3.142 GB, free: 303.4 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/5.501, allocations: 0 / 3.142 GB, free: 303.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.01337/5.515, allocations: 10.56 MB / 3.152 GB, free: 292.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches