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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 190.4 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009243/0.0009244, allocations: 101.9 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.845e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3277, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/5.155, allocations: 1.731 GB / 2.943 GB, free: 108.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/5.155, allocations: 88.81 kB / 2.944 GB, free: 108.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1502/5.305, allocations: 85.19 MB / 3.027 GB, free: 26.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.473e-06/5.305, allocations: 0 / 3.027 GB, free: 26.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.554e-05/5.305, allocations: 4 kB / 3.027 GB, free: 26.89 MB / 1.151 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.0007281/5.306, allocations: 0.4951 MB / 3.027 GB, free: 26.35 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/5.306, allocations: 12.03 kB / 3.027 GB, free: 26.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007226/5.307, allocations: 71.73 kB / 3.027 GB, free: 26.27 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/5.307, allocations: 230.7 kB / 3.028 GB, free: 26 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/5.307, allocations: 34.03 kB / 3.028 GB, free: 25.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/5.307, allocations: 12 kB / 3.028 GB, free: 25.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002183/5.307, allocations: 112.6 kB / 3.028 GB, free: 25.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/5.308, allocations: 219.3 kB / 3.028 GB, free: 25.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/5.308, allocations: 4 kB / 3.028 GB, free: 25.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/5.308, allocations: 0 / 3.028 GB, free: 25.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/5.308, allocations: 4 kB / 3.028 GB, free: 25.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/5.309, allocations: 1.13 MB / 3.029 GB, free: 24.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/5.31, allocations: 190.7 kB / 3.029 GB, free: 24.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/5.31, allocations: 57.06 kB / 3.029 GB, free: 24.14 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/5.31, allocations: 7.922 kB / 3.029 GB, free: 24.14 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/5.31, allocations: 34.56 kB / 3.029 GB, free: 24.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/5.31, allocations: 0 / 3.029 GB, free: 24.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001121/5.311, allocations: 271 kB / 3.03 GB, free: 23.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/5.311, allocations: 51.41 kB / 3.03 GB, free: 23.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/5.311, allocations: 143.1 kB / 3.03 GB, free: 23.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/5.311, allocations: 25.7 kB / 3.03 GB, free: 23.58 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/5.311, allocations: 143.8 kB / 3.03 GB, free: 23.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/5.311, allocations: 35.45 kB / 3.03 GB, free: 23.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/5.311, allocations: 0 / 3.03 GB, free: 23.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/5.311, allocations: 322.8 kB / 3.03 GB, free: 23.07 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/5.311, allocations: 56.36 kB / 3.03 GB, free: 23.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/5.312, allocations: 118 kB / 3.03 GB, free: 22.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/5.312, allocations: 56 kB / 3.03 GB, free: 22.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/5.312, allocations: 0 / 3.03 GB, free: 22.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001077/5.313, allocations: 326.8 kB / 3.031 GB, free: 22.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/5.313, allocations: 12.22 kB / 3.031 GB, free: 22.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/5.313, allocations: 0 / 3.031 GB, free: 22.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/5.314, allocations: 157.5 kB / 3.031 GB, free: 22.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/5.314, allocations: 51.83 kB / 3.031 GB, free: 22.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/5.317, allocations: 2.887 MB / 3.034 GB, free: 19.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/5.317, allocations: 31.77 kB / 3.034 GB, free: 19.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/5.317, allocations: 11.98 kB / 3.034 GB, free: 19.09 MB / 1.151 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 8.635e-05/5.317, allocations: 109 kB / 3.034 GB, free: 18.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/5.317, allocations: 11.91 kB / 3.034 GB, free: 18.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/5.318, allocations: 333.4 kB / 3.034 GB, free: 18.63 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/5.318, allocations: 0 / 3.034 GB, free: 18.63 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/5.318, allocations: 3.938 kB / 3.034 GB, free: 18.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/5.318, allocations: 0 / 3.034 GB, free: 18.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/5.319, allocations: 241.8 kB / 3.034 GB, free: 18.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/5.319, allocations: 0 / 3.034 GB, free: 18.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/5.319, allocations: 23.98 kB / 3.035 GB, free: 18.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008428/5.32, allocations: 169.5 kB / 3.035 GB, free: 18.16 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/5.32, allocations: 0 / 3.035 GB, free: 18.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/5.322, allocations: 2.934 MB / 3.038 GB, free: 14.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/5.322, allocations: 3.984 kB / 3.038 GB, free: 14.98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/5.323, allocations: 394.1 kB / 3.038 GB, free: 14.57 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/5.323, allocations: 104.9 kB / 3.038 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/5.323, allocations: 4 kB / 3.038 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/5.323, allocations: 11.98 kB / 3.038 GB, free: 14.43 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/5.324, allocations: 31.83 kB / 3.038 GB, free: 14.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/5.324, allocations: 4 kB / 3.038 GB, free: 14.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.55e-05/5.324, allocations: 120.8 kB / 3.038 GB, free: 14.28 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.042e-06/5.324, allocations: 0 / 3.038 GB, free: 14.28 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005438/5.324, allocations: 111.9 kB / 3.038 GB, free: 14.17 MB / 1.151 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.0008645/5.325, allocations: 0.8187 MB / 3.039 GB, free: 13.35 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007206/5.326, allocations: 387.7 kB / 3.039 GB, free: 12.95 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/5.326, allocations: 0 / 3.039 GB, free: 12.95 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004868/5.326, allocations: 327.4 kB / 3.04 GB, free: 12.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/5.327, allocations: 36.36 kB / 3.04 GB, free: 12.58 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/5.327, allocations: 281.7 kB / 3.04 GB, free: 12.28 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/5.327, allocations: 0.7399 MB / 3.041 GB, free: 11.51 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001849/5.328, allocations: 33.3 kB / 3.041 GB, free: 11.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/5.328, allocations: 19.44 kB / 3.041 GB, free: 11.46 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/5.328, allocations: 0 / 3.041 GB, free: 11.46 MB / 1.151 GB Notification: Performance of Templates: time 0.01179/5.34, allocations: 8.506 MB / 3.049 GB, free: 2.98 MB / 1.151 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