Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001216, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.00105/0.00105, allocations: 85.88 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.143e-05/5.146e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2574, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.943/6.201, allocations: 2.192 GB / 3.084 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/6.201, allocations: 83.95 kB / 3.084 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1682/6.369, allocations: 87.92 MB / 3.17 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/6.369, allocations: 4 kB / 3.17 GB, free: 87.94 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.034e-05/6.369, allocations: 4 kB / 3.17 GB, free: 87.94 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008644/6.37, allocations: 0.4942 MB / 3.17 GB, free: 87.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/6.37, allocations: 12.03 kB / 3.17 GB, free: 87.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/6.371, allocations: 71.73 kB / 3.17 GB, free: 87.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/6.371, allocations: 224.1 kB / 3.171 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/6.371, allocations: 45.97 kB / 3.171 GB, free: 87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/6.372, allocations: 20 kB / 3.171 GB, free: 86.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/6.372, allocations: 239.3 kB / 3.171 GB, free: 86.72 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/6.372, allocations: 0 / 3.171 GB, free: 86.72 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/6.372, allocations: 15.95 kB / 3.171 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/6.372, allocations: 4 kB / 3.171 GB, free: 86.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/6.372, allocations: 127.8 kB / 3.171 GB, free: 86.58 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/6.374, allocations: 1.181 MB / 3.172 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/6.374, allocations: 198.7 kB / 3.172 GB, free: 85.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/6.375, allocations: 60.84 kB / 3.172 GB, free: 85.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/6.375, allocations: 4 kB / 3.172 GB, free: 85.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/6.375, allocations: 34.56 kB / 3.172 GB, free: 85.01 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/6.375, allocations: 7.938 kB / 3.172 GB, free: 85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.001153/6.376, allocations: 274.9 kB / 3.173 GB, free: 84.72 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/6.376, allocations: 59.34 kB / 3.173 GB, free: 84.65 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/6.376, allocations: 177.5 kB / 3.173 GB, free: 84.47 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/6.376, allocations: 29.7 kB / 3.173 GB, free: 84.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/6.376, allocations: 139.6 kB / 3.173 GB, free: 84.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/6.376, allocations: 31.47 kB / 3.173 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/6.376, allocations: 8.219 kB / 3.173 GB, free: 84.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/6.376, allocations: 326.8 kB / 3.173 GB, free: 83.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/6.376, allocations: 60.3 kB / 3.174 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/6.376, allocations: 116.2 kB / 3.174 GB, free: 83.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/6.377, allocations: 67.94 kB / 3.174 GB, free: 83.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/6.377, allocations: 4 kB / 3.174 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001125/6.378, allocations: 350.7 kB / 3.174 GB, free: 83.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/6.378, allocations: 4 kB / 3.174 GB, free: 83.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/6.378, allocations: 4 kB / 3.174 GB, free: 83.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/6.379, allocations: 173.7 kB / 3.174 GB, free: 83.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/6.379, allocations: 39.91 kB / 3.174 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/6.382, allocations: 3.028 MB / 3.177 GB, free: 79.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/6.383, allocations: 39.72 kB / 3.177 GB, free: 79.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/6.383, allocations: 11.98 kB / 3.177 GB, free: 79.71 MB / 0.8698 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 () * 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.0001002/6.383, allocations: 110.2 kB / 3.177 GB, free: 79.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/6.383, allocations: 19.88 kB / 3.177 GB, free: 79.58 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/6.384, allocations: 357.4 kB / 3.178 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/6.384, allocations: 0 / 3.178 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/6.384, allocations: 0 / 3.178 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/6.384, allocations: 0 / 3.178 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/6.384, allocations: 277.3 kB / 3.178 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/6.384, allocations: 0 / 3.178 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/6.384, allocations: 23.98 kB / 3.178 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/6.385, allocations: 165.5 kB / 3.178 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/6.385, allocations: 7.984 kB / 3.178 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/6.388, allocations: 3.057 MB / 3.181 GB, free: 75.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/6.388, allocations: 0 / 3.181 GB, free: 75.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/6.389, allocations: 414.4 kB / 3.182 GB, free: 74.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/6.389, allocations: 117 kB / 3.182 GB, free: 74.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/6.389, allocations: 4 kB / 3.182 GB, free: 74.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/6.39, allocations: 15.98 kB / 3.182 GB, free: 74.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/6.39, allocations: 23.95 kB / 3.182 GB, free: 74.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/6.39, allocations: 8.125 kB / 3.182 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001072/6.39, allocations: 147.2 kB / 3.182 GB, free: 74.61 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.39, allocations: 0 / 3.182 GB, free: 74.61 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006834/6.391, allocations: 124 kB / 3.182 GB, free: 74.49 MB / 0.8698 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 () * 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.0009442/6.391, allocations: 0.7078 MB / 3.183 GB, free: 73.78 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000791/6.392, allocations: 409.6 kB / 3.183 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/6.392, allocations: 0 / 3.183 GB, free: 73.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/6.393, allocations: 345.4 kB / 3.183 GB, free: 72.99 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/6.393, allocations: 56.03 kB / 3.183 GB, free: 72.94 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/6.394, allocations: 296.5 kB / 3.184 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/6.394, allocations: 0.7439 MB / 3.184 GB, free: 71.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001888/6.394, allocations: 34.06 kB / 3.184 GB, free: 71.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/6.394, allocations: 23.36 kB / 3.184 GB, free: 71.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/6.394, allocations: 4 kB / 3.184 GB, free: 71.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.02134/6.416, allocations: 16.27 MB / 3.2 GB, free: 55.55 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches