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.005935/0.005935, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001424/0.001424, allocations: 195 kB / 16.79 MB, free: 6.254 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.98 kB / 0.899 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003397/0.3542, allocations: 1.727 MB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1734/0.5276, allocations: 147.4 MB / 1.198 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.5278, allocations: 4 kB / 1.198 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.5281, allocations: 23.8 kB / 1.198 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.5284, allocations: 47.7 kB / 1.198 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.5289, allocations: 155.5 kB / 1.199 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.5292, allocations: 155.5 kB / 1.199 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.5294, allocations: 37.31 kB / 1.199 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.5316, allocations: 178.5 kB / 1.199 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.5318, allocations: 63.75 kB / 1.199 GB, free: 2 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.5319, allocations: 4 kB / 1.199 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.5322, allocations: 167.7 kB / 1.199 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.5323, allocations: 23.91 kB / 1.199 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.316e-05/0.5324, allocations: 47.73 kB / 1.199 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.5327, allocations: 143.7 kB / 1.199 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5327, allocations: 0 / 1.199 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5327, allocations: 0 / 1.199 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5327, allocations: 0 / 1.199 GB, free: 1.621 MB / 0.9512 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.0009981/0.5337, allocations: 471 kB / 1.2 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5338, allocations: 8.031 kB / 1.2 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.5345, allocations: 60.69 kB / 1.2 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.5348, allocations: 208.3 kB / 1.2 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5348, allocations: 4 kB / 1.2 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.5349, allocations: 8 kB / 1.2 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.5354, allocations: 187.5 kB / 1.2 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5354, allocations: 3.938 kB / 1.2 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.5354, allocations: 4 kB / 1.2 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5355, allocations: 4 kB / 1.2 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.536, allocations: 147.7 kB / 1.2 GB, free: 444 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.5373, allocations: 0.8207 MB / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.5378, allocations: 130.5 kB / 1.201 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.5381, allocations: 80.8 kB / 1.201 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.5382, allocations: 3.984 kB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.5382, allocations: 34.56 kB / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 3.376e-06/0.5382, allocations: 0 / 1.201 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00212/0.5403, allocations: 467.1 kB / 1.202 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.5404, allocations: 51.41 kB / 1.202 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.5406, allocations: 154.2 kB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.5406, allocations: 25.7 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.5407, allocations: 112.2 kB / 1.202 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.5408, allocations: 27.56 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.5408, allocations: 29.69 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002781/0.5411, allocations: 322.8 kB / 1.203 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.5414, allocations: 71.92 kB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.5417, allocations: 108.2 kB / 1.203 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.5422, allocations: 176.1 kB / 1.203 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5422, allocations: 7.938 kB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001166/0.5434, allocations: 274.1 kB / 1.203 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5435, allocations: 7.938 kB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5435, allocations: 4 kB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.5441, allocations: 84.89 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.5444, allocations: 31.95 kB / 1.203 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.5467, allocations: 1.551 MB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.547, allocations: 31.94 kB / 1.205 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.547, allocations: 4 kB / 1.205 GB, free: 11.52 MB / 0.9669 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.000173/0.5472, allocations: 121.9 kB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.5472, allocations: 11.89 kB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.5484, allocations: 314.9 kB / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5484, allocations: 0 / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.5484, allocations: 0 / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5484, allocations: 3.938 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.5487, allocations: 241.4 kB / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5487, allocations: 0 / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.549, allocations: 35.95 kB / 1.206 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.5495, allocations: 84.7 kB / 1.206 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.5495, allocations: 11.98 kB / 1.206 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.5517, allocations: 1.571 MB / 1.207 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5517, allocations: 0 / 1.207 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.5528, allocations: 376.1 kB / 1.208 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.5529, allocations: 108.9 kB / 1.208 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.553, allocations: 0 / 1.208 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5532, allocations: 11.98 kB / 1.208 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.5533, allocations: 19.97 kB / 1.208 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.5533, allocations: 4.078 kB / 1.208 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.282e-05/0.5534, allocations: 118.5 kB / 1.208 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5534, allocations: 4 kB / 1.208 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003656/0.5538, allocations: 47.94 kB / 1.208 GB, free: 8.215 MB / 0.9669 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.0002104/0.554, allocations: 111.2 kB / 1.208 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.555, allocations: 305.2 kB / 1.208 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.555, allocations: 4 kB / 1.208 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.5555, allocations: 234.5 kB / 1.208 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5559, allocations: 27.92 kB / 1.209 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.5569, allocations: 368.2 kB / 1.209 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5572, allocations: 0.7126 MB / 1.21 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.5573, allocations: 23.42 kB / 1.21 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/0.5573, allocations: 4 kB / 1.21 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of Templates: time 0.005999/0.5634, allocations: 2.719 MB / 1.212 GB, free: 3.641 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches