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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001234/0.001234, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001258/0.001258, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.196/1.196, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.175/2.175, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.48 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2545, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002706/0.2572, allocations: 1.67 MB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5735/0.8308, allocations: 149.7 MB / 1.167 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.8309, allocations: 1.312 kB / 1.167 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.8311, allocations: 25.56 kB / 1.167 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.8314, allocations: 56.45 kB / 1.167 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.8318, allocations: 186.1 kB / 1.167 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.8321, allocations: 164.7 kB / 1.167 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.8322, allocations: 23.75 kB / 1.167 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.8332, allocations: 205.7 kB / 1.167 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.8334, allocations: 60.14 kB / 1.167 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.8334, allocations: 8.5 kB / 1.167 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.8337, allocations: 165.2 kB / 1.167 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.8337, allocations: 22.92 kB / 1.167 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.8338, allocations: 53.75 kB / 1.168 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.8341, allocations: 207.6 kB / 1.168 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8341, allocations: 1.094 kB / 1.168 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8341, allocations: 0 / 1.168 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8341, allocations: 4 kB / 1.168 GB, free: 2.938 MB / 0.8731 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.0008958/0.835, allocations: 469.4 kB / 1.168 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.8351, allocations: 9.531 kB / 1.168 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005989/0.8357, allocations: 52.7 kB / 1.168 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.8359, allocations: 210.6 kB / 1.168 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.8359, allocations: 3.844 kB / 1.168 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.836, allocations: 8.5 kB / 1.168 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.8363, allocations: 187.9 kB / 1.169 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.8364, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8364, allocations: 1.469 kB / 1.169 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.8364, allocations: 2.188 kB / 1.169 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.8368, allocations: 153.5 kB / 1.169 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.8379, allocations: 0.8202 MB / 1.17 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.8383, allocations: 135.8 kB / 1.17 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.8385, allocations: 80 kB / 1.17 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.8385, allocations: 1.062 kB / 1.17 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.8385, allocations: 37.5 kB / 1.17 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.8385, allocations: 0 / 1.17 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001731/0.8403, allocations: 457.5 kB / 1.17 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.8403, allocations: 52.47 kB / 1.17 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.8405, allocations: 159.7 kB / 1.17 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.8405, allocations: 33.64 kB / 1.17 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.8405, allocations: 114.2 kB / 1.171 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.8406, allocations: 26.58 kB / 1.171 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.8406, allocations: 33.38 kB / 1.171 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8408, allocations: 323.6 kB / 1.171 GB, free: 372 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.841, allocations: 64.69 kB / 1.171 GB, free: 360 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.8413, allocations: 110.4 kB / 1.171 GB, free: 296 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.8417, allocations: 185.7 kB / 1.171 GB, free: 200 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8417, allocations: 0 / 1.171 GB, free: 200 kB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009128/0.8426, allocations: 280.6 kB / 1.172 GB, free: 96 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8427, allocations: 8.938 kB / 1.172 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8427, allocations: 6.062 kB / 1.172 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.8432, allocations: 85.62 kB / 1.172 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.8434, allocations: 33.27 kB / 1.172 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.8453, allocations: 1.661 MB / 1.173 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.8456, allocations: 27.72 kB / 1.173 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.8456, allocations: 5.688 kB / 1.173 GB, free: 14.54 MB / 0.8887 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.0001067/0.8457, allocations: 128.3 kB / 1.173 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.8457, allocations: 12.88 kB / 1.173 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000938/0.8467, allocations: 302.4 kB / 1.174 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8467, allocations: 7.156 kB / 1.174 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.8467, allocations: 5.125 kB / 1.174 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8467, allocations: 0 / 1.174 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.847, allocations: 244.5 kB / 1.174 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.847, allocations: 0 / 1.174 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.8472, allocations: 35.72 kB / 1.174 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/0.8476, allocations: 75.12 kB / 1.174 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.8476, allocations: 2.594 kB / 1.174 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.8493, allocations: 1.689 MB / 1.176 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8493, allocations: 0 / 1.176 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.8502, allocations: 380 kB / 1.176 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.8504, allocations: 107.6 kB / 1.176 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.8504, allocations: 1.156 kB / 1.176 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.8506, allocations: 24.12 kB / 1.176 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.8507, allocations: 13.67 kB / 1.176 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.8507, allocations: 12.83 kB / 1.176 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.97e-05/0.8508, allocations: 109.3 kB / 1.176 GB, free: 12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8508, allocations: 0 / 1.176 GB, free: 12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003008/0.8511, allocations: 43.69 kB / 1.176 GB, free: 11.99 MB / 0.8887 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.0001945/0.8513, allocations: 116.1 kB / 1.177 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007727/0.852, allocations: 308.6 kB / 1.177 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8521, allocations: 0 / 1.177 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.8525, allocations: 238.6 kB / 1.177 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.8528, allocations: 28.61 kB / 1.177 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.8536, allocations: 313.3 kB / 1.177 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.8539, allocations: 0.7093 MB / 1.178 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.854, allocations: 22.7 kB / 1.178 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.8541, allocations: 18.05 kB / 1.178 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.8541, allocations: 5.125 kB / 1.178 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of Templates: time 0.005955/0.8601, allocations: 3.213 MB / 1.181 GB, free: 8.891 MB / 0.8887 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 -s cvode -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/jenkins1/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