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.295/2.295, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.00127/0.00127, allocations: 180.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009438/0.000944, allocations: 99.88 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.222e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2902, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.297/4.587, allocations: 1.732 GB / 2.951 GB, free: 68.79 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/4.588, allocations: 83.95 kB / 2.951 GB, free: 68.71 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9578/5.546, allocations: 86.4 MB / 3.035 GB, free: 396.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.414e-06/5.546, allocations: 1.125 kB / 3.035 GB, free: 396.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.33e-05/5.546, allocations: 7.219 kB / 3.035 GB, free: 396.9 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.001092/5.547, allocations: 0.491 MB / 3.036 GB, free: 396.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/5.547, allocations: 12.25 kB / 3.036 GB, free: 396.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/5.548, allocations: 74.97 kB / 3.036 GB, free: 396.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/5.548, allocations: 221.8 kB / 3.036 GB, free: 396.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/5.548, allocations: 42.5 kB / 3.036 GB, free: 396.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/5.548, allocations: 13.84 kB / 3.036 GB, free: 396.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/5.549, allocations: 249.2 kB / 3.036 GB, free: 396.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/5.549, allocations: 0.7812 kB / 3.036 GB, free: 396.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/5.549, allocations: 9.562 kB / 3.036 GB, free: 396.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/5.549, allocations: 5.109 kB / 3.036 GB, free: 396.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/5.549, allocations: 131.6 kB / 3.036 GB, free: 396.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/5.551, allocations: 1.192 MB / 3.037 GB, free: 395.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/5.552, allocations: 192 kB / 3.038 GB, free: 395.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/5.552, allocations: 57.25 kB / 3.038 GB, free: 395.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/5.552, allocations: 6.031 kB / 3.038 GB, free: 395.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/5.552, allocations: 38.47 kB / 3.038 GB, free: 395.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 2.384e-06/5.552, allocations: 0 / 3.038 GB, free: 395.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001351/5.554, allocations: 279.2 kB / 3.038 GB, free: 395.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/5.554, allocations: 52.38 kB / 3.038 GB, free: 395.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/5.554, allocations: 179.2 kB / 3.038 GB, free: 395 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/5.554, allocations: 30.94 kB / 3.038 GB, free: 394.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/5.554, allocations: 136.1 kB / 3.038 GB, free: 394.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/5.554, allocations: 46.64 kB / 3.038 GB, free: 394.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/5.554, allocations: 3.562 kB / 3.038 GB, free: 394.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/5.554, allocations: 326.6 kB / 3.039 GB, free: 394.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/5.554, allocations: 52.11 kB / 3.039 GB, free: 394.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/5.555, allocations: 116.8 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/5.555, allocations: 71.39 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/5.555, allocations: 0 / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001298/5.556, allocations: 346.3 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/5.556, allocations: 5.391 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/5.556, allocations: 6.125 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/5.557, allocations: 166 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/5.557, allocations: 41.56 kB / 3.039 GB, free: 394.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/5.561, allocations: 3.026 MB / 3.042 GB, free: 391.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/5.561, allocations: 40.16 kB / 3.042 GB, free: 391.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/5.561, allocations: 8.578 kB / 3.042 GB, free: 391.8 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 9.307e-05/5.561, allocations: 120.4 kB / 3.043 GB, free: 391.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/5.561, allocations: 16.09 kB / 3.043 GB, free: 391.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/5.563, allocations: 352.6 kB / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/5.563, allocations: 3.094 kB / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/5.563, allocations: 0 / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/5.563, allocations: 2.078 kB / 3.043 GB, free: 391.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/5.563, allocations: 273.4 kB / 3.043 GB, free: 391.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/5.563, allocations: 6.922 kB / 3.043 GB, free: 391.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/5.563, allocations: 29.92 kB / 3.043 GB, free: 391.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/5.564, allocations: 163 kB / 3.043 GB, free: 391.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/5.564, allocations: 4.625 kB / 3.043 GB, free: 391.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/5.568, allocations: 3.067 MB / 3.046 GB, free: 388.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/5.568, allocations: 0 / 3.046 GB, free: 388.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/5.569, allocations: 412.1 kB / 3.047 GB, free: 388.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/5.569, allocations: 111.7 kB / 3.047 GB, free: 388.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/5.569, allocations: 6.484 kB / 3.047 GB, free: 388.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/5.569, allocations: 23.84 kB / 3.047 GB, free: 388.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/5.569, allocations: 18.05 kB / 3.047 GB, free: 388.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/5.569, allocations: 12.81 kB / 3.047 GB, free: 388.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001558/5.57, allocations: 142.9 kB / 3.047 GB, free: 388.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.02e-07/5.57, allocations: 0 / 3.047 GB, free: 388.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008213/5.57, allocations: 128.3 kB / 3.047 GB, free: 388.4 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.001371/5.572, allocations: 0.713 MB / 3.048 GB, free: 388.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001001/5.573, allocations: 409.2 kB / 3.048 GB, free: 388 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/5.573, allocations: 0 / 3.048 GB, free: 388 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/5.573, allocations: 345.8 kB / 3.049 GB, free: 387.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/5.574, allocations: 45.81 kB / 3.049 GB, free: 387.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/5.575, allocations: 297.8 kB / 3.049 GB, free: 387.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/5.575, allocations: 0.7423 MB / 3.05 GB, free: 387 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000267/5.575, allocations: 35.7 kB / 3.05 GB, free: 387 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/5.575, allocations: 24.05 kB / 3.05 GB, free: 386.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/5.575, allocations: 0 / 3.05 GB, free: 386.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02934/5.605, allocations: 16.29 MB / 3.066 GB, free: 385.7 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