Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001512/0.001512, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002265/0.002265, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.71 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6604, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003077/0.6635, allocations: 1.729 MB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.8182, allocations: 147.5 MB / 1.163 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.8184, allocations: 4 kB / 1.163 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.8186, allocations: 11.88 kB / 1.163 GB, free: 12.92 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.8189, allocations: 51.69 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.8193, allocations: 159.5 kB / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.8195, allocations: 163.5 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.8197, allocations: 38.97 kB / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.8216, allocations: 185.9 kB / 1.163 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.8218, allocations: 67.73 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.8218, allocations: 8 kB / 1.163 GB, free: 12.28 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.8222, allocations: 163.7 kB / 1.163 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.8222, allocations: 31.89 kB / 1.163 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.8223, allocations: 59.72 kB / 1.163 GB, free: 12.03 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.8227, allocations: 195.5 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8227, allocations: 0 / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8227, allocations: 0 / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.8227, allocations: 0 / 1.164 GB, free: 11.84 MB / 0.92 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.0008809/0.8236, allocations: 463 kB / 1.164 GB, free: 11.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8237, allocations: 8.031 kB / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.8244, allocations: 56.78 kB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.8246, allocations: 215.5 kB / 1.164 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.8246, allocations: 12 kB / 1.164 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.8247, allocations: 7.984 kB / 1.164 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.8252, allocations: 181.8 kB / 1.165 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8252, allocations: 0 / 1.165 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.8252, allocations: 8 kB / 1.165 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8252, allocations: 4 kB / 1.165 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.8257, allocations: 139.8 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.8269, allocations: 0.832 MB / 1.165 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.8274, allocations: 126.5 kB / 1.166 GB, free: 9.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.8277, allocations: 84.8 kB / 1.166 GB, free: 9.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.8277, allocations: 0 / 1.166 GB, free: 9.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.8277, allocations: 34.5 kB / 1.166 GB, free: 9.484 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.8277, allocations: 0 / 1.166 GB, free: 9.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001987/0.8297, allocations: 459.3 kB / 1.166 GB, free: 9.008 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.8298, allocations: 63.34 kB / 1.166 GB, free: 8.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.83, allocations: 156.1 kB / 1.166 GB, free: 8.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.83, allocations: 29.64 kB / 1.166 GB, free: 8.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.8301, allocations: 108.2 kB / 1.166 GB, free: 8.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.8301, allocations: 27.64 kB / 1.167 GB, free: 8.598 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.8302, allocations: 37.61 kB / 1.167 GB, free: 8.555 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8304, allocations: 318.8 kB / 1.167 GB, free: 8.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.8306, allocations: 71.94 kB / 1.167 GB, free: 8.164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.8309, allocations: 104.2 kB / 1.167 GB, free: 8.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.8314, allocations: 180.4 kB / 1.167 GB, free: 7.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8314, allocations: 4 kB / 1.167 GB, free: 7.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001079/0.8325, allocations: 274.1 kB / 1.167 GB, free: 7.574 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8325, allocations: 11.94 kB / 1.167 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8326, allocations: 0 / 1.167 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.8332, allocations: 84.89 kB / 1.168 GB, free: 7.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.8335, allocations: 35.89 kB / 1.168 GB, free: 7.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.8357, allocations: 1.669 MB / 1.169 GB, free: 5.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.8359, allocations: 27.81 kB / 1.169 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.836, allocations: 8 kB / 1.169 GB, free: 5.598 MB / 0.92 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.8361, allocations: 118.5 kB / 1.169 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.8361, allocations: 11.89 kB / 1.169 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.8373, allocations: 314.9 kB / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8373, allocations: 0 / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.8373, allocations: 0 / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8373, allocations: 0 / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.8376, allocations: 245.4 kB / 1.17 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8376, allocations: 4 kB / 1.17 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.8378, allocations: 43.83 kB / 1.17 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004953/0.8383, allocations: 68.78 kB / 1.17 GB, free: 4.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.8384, allocations: 11.92 kB / 1.17 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.8403, allocations: 1.682 MB / 1.172 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8403, allocations: 4 kB / 1.172 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.8414, allocations: 379.9 kB / 1.172 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.8415, allocations: 108.8 kB / 1.172 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.8415, allocations: 4 kB / 1.172 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.8418, allocations: 19.92 kB / 1.172 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.8418, allocations: 19.97 kB / 1.172 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.8419, allocations: 0 / 1.172 GB, free: 2.336 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.794e-05/0.842, allocations: 117.5 kB / 1.172 GB, free: 2.223 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.842, allocations: 3.938 kB / 1.172 GB, free: 2.219 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003318/0.8423, allocations: 44 kB / 1.172 GB, free: 2.176 MB / 0.92 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.8425, allocations: 119.2 kB / 1.172 GB, free: 2.047 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.8434, allocations: 310.7 kB / 1.173 GB, free: 1.73 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8434, allocations: 0 / 1.173 GB, free: 1.73 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.844, allocations: 230.5 kB / 1.173 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.8443, allocations: 32.14 kB / 1.173 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.8451, allocations: 362.2 kB / 1.173 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.8455, allocations: 0.7046 MB / 1.174 GB, free: 360 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.8456, allocations: 24.81 kB / 1.174 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.8457, allocations: 19.42 kB / 1.174 GB, free: 316 kB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.8457, allocations: 0 / 1.174 GB, free: 316 kB / 0.92 GB Notification: Performance of Templates: time 0.01334/0.8591, allocations: 3.09 MB / 1.177 GB, free: 13.24 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches