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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001494/0.001494, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001223/0.001223, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 482.4 MB / 0.755 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.28 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9414, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003475/0.9449, allocations: 1.73 MB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2213/1.166, allocations: 147.5 MB / 1.228 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/1.166, allocations: 0 / 1.228 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/1.167, allocations: 23.86 kB / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003154/1.167, allocations: 47.7 kB / 1.228 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/1.168, allocations: 159.5 kB / 1.228 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/1.168, allocations: 163.5 kB / 1.229 GB, free: 9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/1.168, allocations: 35.08 kB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/1.17, allocations: 179.1 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/1.171, allocations: 63.75 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/1.171, allocations: 8 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/1.171, allocations: 175.7 kB / 1.229 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/1.171, allocations: 27.86 kB / 1.229 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/1.171, allocations: 51.72 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/1.171, allocations: 147.7 kB / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.171, allocations: 0 / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/1.171, allocations: 0 / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/1.171, allocations: 0 / 1.229 GB, free: 8.352 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.001012/1.172, allocations: 467 kB / 1.23 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.172, allocations: 8.031 kB / 1.23 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/1.173, allocations: 60.69 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/1.173, allocations: 204.8 kB / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/1.173, allocations: 11.94 kB / 1.23 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/1.174, allocations: 8 kB / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/1.174, allocations: 179.6 kB / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.174, allocations: 0 / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.174, allocations: 4 kB / 1.23 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.174, allocations: 11.98 kB / 1.23 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/1.175, allocations: 143.7 kB / 1.23 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/1.176, allocations: 0.8284 MB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.176, allocations: 130.4 kB / 1.231 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/1.177, allocations: 88.78 kB / 1.231 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/1.177, allocations: 0 / 1.231 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.177, allocations: 30.56 kB / 1.231 GB, free: 6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/1.177, allocations: 0 / 1.231 GB, free: 6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.002062/1.179, allocations: 459.1 kB / 1.232 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.179, allocations: 55.41 kB / 1.232 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/1.179, allocations: 156.2 kB / 1.232 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.179, allocations: 25.7 kB / 1.232 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/1.179, allocations: 112.4 kB / 1.232 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/1.179, allocations: 31.55 kB / 1.232 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.18, allocations: 37.7 kB / 1.232 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002462/1.18, allocations: 322.8 kB / 1.232 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/1.18, allocations: 71.94 kB / 1.233 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.18, allocations: 100.2 kB / 1.233 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/1.181, allocations: 180.1 kB / 1.233 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.181, allocations: 0 / 1.233 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00116/1.182, allocations: 278.1 kB / 1.233 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.182, allocations: 11.94 kB / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.182, allocations: 0 / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/1.183, allocations: 84.89 kB / 1.233 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/1.183, allocations: 31.95 kB / 1.233 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/1.186, allocations: 1.666 MB / 1.235 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/1.186, allocations: 31.88 kB / 1.235 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/1.186, allocations: 8 kB / 1.235 GB, free: 2.113 MB / 0.9512 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.0001447/1.186, allocations: 124.3 kB / 1.235 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/1.186, allocations: 7.906 kB / 1.235 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/1.187, allocations: 318.1 kB / 1.235 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.187, allocations: 0 / 1.235 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/1.187, allocations: 0 / 1.235 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.188, allocations: 3.984 kB / 1.235 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/1.188, allocations: 241.4 kB / 1.235 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/1.188, allocations: 3.984 kB / 1.235 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/1.188, allocations: 35.97 kB / 1.236 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/1.189, allocations: 68.78 kB / 1.236 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/1.189, allocations: 11.92 kB / 1.236 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/1.191, allocations: 1.686 MB / 1.237 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.191, allocations: 0 / 1.237 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.192, allocations: 383.9 kB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.192, allocations: 104.9 kB / 1.238 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/1.192, allocations: 4 kB / 1.238 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/1.192, allocations: 19.92 kB / 1.238 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/1.192, allocations: 19.97 kB / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.192, allocations: 0 / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001035/1.193, allocations: 117.5 kB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/1.193, allocations: 0 / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003575/1.193, allocations: 47.91 kB / 1.238 GB, free: 14.7 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.0002209/1.193, allocations: 114.2 kB / 1.238 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000983/1.194, allocations: 310.7 kB / 1.238 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.194, allocations: 0 / 1.238 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/1.195, allocations: 222.5 kB / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/1.195, allocations: 35.92 kB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009891/1.196, allocations: 381.1 kB / 1.239 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/1.197, allocations: 0.7085 MB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/1.197, allocations: 19.42 kB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/1.197, allocations: 3.938 kB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.005774/1.202, allocations: 2.734 MB / 1.242 GB, free: 10.11 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=400 -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