Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001327/0.001328, allocations: 191.5 kB / 0.4902 GB, free: 2.262 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.771/1.771, allocations: 223.2 MB / 0.7992 GB, free: 14.67 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.00104/0.00104, allocations: 100.1 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 10.25 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3664, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.509/4.876, allocations: 1.716 GB / 2.945 GB, free: 272.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/4.876, allocations: 84.52 kB / 2.945 GB, free: 272.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1066/4.983, allocations: 56.25 MB / 3 GB, free: 215.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.442e-06/4.983, allocations: 0 / 3 GB, free: 215.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.543e-05/4.983, allocations: 8 kB / 3 GB, free: 215.1 MB / 1.167 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.0007847/4.983, allocations: 467.1 kB / 3 GB, free: 214.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/4.983, allocations: 8.562 kB / 3 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/4.984, allocations: 51.84 kB / 3 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/4.984, allocations: 206.8 kB / 3.001 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/4.984, allocations: 8 kB / 3.001 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/4.984, allocations: 4 kB / 3.001 GB, free: 214.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/4.985, allocations: 199.5 kB / 3.001 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/4.985, allocations: 7.984 kB / 3.001 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/4.985, allocations: 11.94 kB / 3.001 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/4.985, allocations: 0 / 3.001 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/4.985, allocations: 163.8 kB / 3.001 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/4.986, allocations: 0.832 MB / 3.002 GB, free: 213 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/4.987, allocations: 142.4 kB / 3.002 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/4.987, allocations: 4 kB / 3.002 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/4.987, allocations: 34.5 kB / 3.002 GB, free: 212.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/4.987, allocations: 0 / 3.002 GB, free: 212.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.001975/4.989, allocations: 491.2 kB / 3.002 GB, free: 212.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/4.989, allocations: 51.41 kB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/4.989, allocations: 142.5 kB / 3.003 GB, free: 212.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/4.989, allocations: 25.7 kB / 3.003 GB, free: 212 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/4.989, allocations: 120.1 kB / 3.003 GB, free: 211.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/4.989, allocations: 19.66 kB / 3.003 GB, free: 211.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/4.989, allocations: 4 kB / 3.003 GB, free: 211.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/4.989, allocations: 326.8 kB / 3.003 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/4.99, allocations: 79.94 kB / 3.003 GB, free: 211.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/4.99, allocations: 125.9 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/4.99, allocations: 87.97 kB / 3.003 GB, free: 211.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/4.99, allocations: 0 / 3.003 GB, free: 211.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001035/4.991, allocations: 298.1 kB / 3.004 GB, free: 210.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/4.991, allocations: 8 kB / 3.004 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/4.991, allocations: 0 / 3.004 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/4.992, allocations: 96.81 kB / 3.004 GB, free: 210.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/4.992, allocations: 31.97 kB / 3.004 GB, free: 210.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/4.994, allocations: 1.575 MB / 3.005 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/4.994, allocations: 35.89 kB / 3.005 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/4.994, allocations: 7.984 kB / 3.005 GB, free: 209.1 MB / 1.167 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 0.0001044/4.994, allocations: 118.6 kB / 3.005 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/4.994, allocations: 7.906 kB / 3.005 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/4.995, allocations: 350.7 kB / 3.006 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/4.995, allocations: 0 / 3.006 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/4.995, allocations: 0 / 3.006 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/4.995, allocations: 0 / 3.006 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/4.996, allocations: 241.4 kB / 3.006 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/4.996, allocations: 0 / 3.006 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/4.996, allocations: 39.92 kB / 3.006 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/4.996, allocations: 88.75 kB / 3.006 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/4.996, allocations: 11.94 kB / 3.006 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/4.998, allocations: 1.579 MB / 3.008 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/4.998, allocations: 0 / 3.008 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/4.999, allocations: 402.8 kB / 3.008 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/4.999, allocations: 92.94 kB / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/4.999, allocations: 4 kB / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/4.999, allocations: 24.05 kB / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/4.999, allocations: 15.97 kB / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/4.999, allocations: 8 kB / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.673e-05/4.999, allocations: 105.2 kB / 3.008 GB, free: 205.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.999, allocations: 0 / 3.008 GB, free: 205.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005187/5, allocations: 95.92 kB / 3.008 GB, free: 205.7 MB / 1.167 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.0008819/5.001, allocations: 0.5991 MB / 3.009 GB, free: 205.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008687/5.002, allocations: 330.6 kB / 3.009 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/5.002, allocations: 8 kB / 3.009 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/5.002, allocations: 238.5 kB / 3.01 GB, free: 204.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/5.003, allocations: 29.8 kB / 3.01 GB, free: 204.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/5.003, allocations: 349.8 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/5.003, allocations: 0.7088 MB / 3.011 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001833/5.004, allocations: 20.88 kB / 3.011 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/5.004, allocations: 19.42 kB / 3.011 GB, free: 203.3 MB / 1.167 GB Notification: Performance of SimCode: time 4.61e-07/5.004, allocations: 0 / 3.011 GB, free: 203.3 MB / 1.167 GB Notification: Performance of Templates: time 0.0134/5.017, allocations: 10.57 MB / 3.021 GB, free: 192.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches