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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004994, allocations: 8 kB / 0.8707 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7386, allocations: 153.7 MB / 1.021 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001698/0.7404, allocations: 1.348 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.8983, allocations: 126.5 MB / 1.146 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.8985, allocations: 4 kB / 1.146 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.8988, allocations: 15.91 kB / 1.146 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.8992, allocations: 47.86 kB / 1.146 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.8999, allocations: 167.5 kB / 1.146 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.9002, allocations: 95.81 kB / 1.146 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.9004, allocations: 21.11 kB / 1.146 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.9008, allocations: 111.7 kB / 1.146 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.901, allocations: 51.83 kB / 1.146 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.901, allocations: 8 kB / 1.146 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.9015, allocations: 163.8 kB / 1.146 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.9016, allocations: 23.91 kB / 1.146 GB, free: 420 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.9017, allocations: 41.64 kB / 1.146 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.902, allocations: 141.8 kB / 1.146 GB, free: 232 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.902, allocations: 0 / 1.146 GB, free: 232 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/0.902, allocations: 0 / 1.146 GB, free: 232 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.485e-06/0.902, allocations: 0 / 1.146 GB, free: 232 kB / 0.8887 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.00118/0.9032, allocations: 458.8 kB / 1.147 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9032, allocations: 11.98 kB / 1.147 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/0.9042, allocations: 63.75 kB / 1.147 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.9045, allocations: 198.8 kB / 1.147 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.9045, allocations: 15.92 kB / 1.147 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.9046, allocations: 8 kB / 1.147 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.9052, allocations: 189.8 kB / 1.147 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.9053, allocations: 0 / 1.147 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.9053, allocations: 15.94 kB / 1.147 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.9053, allocations: 3.953 kB / 1.147 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.9061, allocations: 163.8 kB / 1.148 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.9077, allocations: 0.8322 MB / 1.148 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.9083, allocations: 146.4 kB / 1.149 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.9084, allocations: 0 / 1.149 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.9084, allocations: 42.56 kB / 1.149 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.9084, allocations: 4 kB / 1.149 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.002804/0.9112, allocations: 491.1 kB / 1.149 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.9113, allocations: 51.41 kB / 1.149 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.9115, allocations: 151.3 kB / 1.149 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.9116, allocations: 29.7 kB / 1.149 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.9117, allocations: 116.4 kB / 1.149 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.9118, allocations: 31.55 kB / 1.149 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.9118, allocations: 0 / 1.149 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9119, allocations: 318.8 kB / 1.15 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.9123, allocations: 83.94 kB / 1.15 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.9126, allocations: 108.2 kB / 1.15 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.9129, allocations: 87.89 kB / 1.15 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9129, allocations: 4 kB / 1.15 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001084/0.914, allocations: 302.1 kB / 1.15 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9141, allocations: 4 kB / 1.15 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.9141, allocations: 4 kB / 1.15 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.9147, allocations: 84.86 kB / 1.15 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.9149, allocations: 43.89 kB / 1.15 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.917, allocations: 1.56 MB / 1.152 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.9173, allocations: 35.81 kB / 1.152 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.9173, allocations: 8.062 kB / 1.152 GB, free: 10.19 MB / 0.9044 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.0001157/0.9174, allocations: 113.8 kB / 1.152 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.9175, allocations: 15.86 kB / 1.152 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.9186, allocations: 330.9 kB / 1.152 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9186, allocations: 3.938 kB / 1.152 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.9186, allocations: 4 kB / 1.152 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9186, allocations: 0 / 1.152 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.9189, allocations: 249.3 kB / 1.153 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9189, allocations: 4 kB / 1.153 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.9191, allocations: 35.95 kB / 1.153 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/0.9196, allocations: 88.7 kB / 1.153 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.9197, allocations: 0 / 1.153 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.9215, allocations: 1.587 MB / 1.154 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9215, allocations: 3.984 kB / 1.154 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.9226, allocations: 396 kB / 1.155 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9227, allocations: 108.9 kB / 1.155 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.9227, allocations: 4 kB / 1.155 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.923, allocations: 27.97 kB / 1.155 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.9231, allocations: 11.94 kB / 1.155 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.9231, allocations: 4 kB / 1.155 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.794e-05/0.9232, allocations: 116.7 kB / 1.155 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9232, allocations: 0 / 1.155 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003399/0.9235, allocations: 44 kB / 1.155 GB, free: 6.828 MB / 0.9044 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.0002003/0.9237, allocations: 115.2 kB / 1.155 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008883/0.9246, allocations: 322.6 kB / 1.155 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9246, allocations: 0 / 1.155 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.9252, allocations: 254.5 kB / 1.156 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.9254, allocations: 25.53 kB / 1.156 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.9264, allocations: 386.1 kB / 1.156 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.9268, allocations: 0.7088 MB / 1.157 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.927, allocations: 28.81 kB / 1.157 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.927, allocations: 15.42 kB / 1.157 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.927, allocations: 0 / 1.157 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.006823/0.9339, allocations: 2.844 MB / 1.16 GB, free: 2.094 MB / 0.9044 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