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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008118/0.008118, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001557/0.001557, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 64.12 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003716/1.096, allocations: 1.672 MB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1818/1.277, allocations: 149.7 MB / 1.356 GB, free: 5.629 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/1.278, allocations: 0 / 1.356 GB, free: 5.629 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002243/1.278, allocations: 27.8 kB / 1.356 GB, free: 5.602 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/1.278, allocations: 55.58 kB / 1.356 GB, free: 5.547 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/1.279, allocations: 175.4 kB / 1.356 GB, free: 5.375 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/1.279, allocations: 175.5 kB / 1.356 GB, free: 5.203 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/1.279, allocations: 21.12 kB / 1.356 GB, free: 5.184 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/1.28, allocations: 214.3 kB / 1.356 GB, free: 5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/1.281, allocations: 55.77 kB / 1.356 GB, free: 4.945 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/1.281, allocations: 12 kB / 1.356 GB, free: 4.934 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/1.281, allocations: 167.8 kB / 1.356 GB, free: 4.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/1.281, allocations: 19.92 kB / 1.356 GB, free: 4.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/1.281, allocations: 55.72 kB / 1.356 GB, free: 4.695 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/1.282, allocations: 209.1 kB / 1.357 GB, free: 4.496 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.282, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.865e-06/1.282, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.282, allocations: 4 kB / 1.357 GB, free: 4.492 MB / 1.076 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.001074/1.283, allocations: 470.9 kB / 1.357 GB, free: 3.984 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.283, allocations: 8.031 kB / 1.357 GB, free: 3.977 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/1.283, allocations: 56.7 kB / 1.357 GB, free: 3.922 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/1.284, allocations: 202.8 kB / 1.357 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/1.284, allocations: 4 kB / 1.357 GB, free: 3.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/1.284, allocations: 8 kB / 1.357 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/1.284, allocations: 183.2 kB / 1.358 GB, free: 3.473 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.284, allocations: 0 / 1.358 GB, free: 3.473 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/1.284, allocations: 4 kB / 1.358 GB, free: 3.469 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.284, allocations: 7.984 kB / 1.358 GB, free: 3.461 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/1.285, allocations: 143.8 kB / 1.358 GB, free: 3.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/1.286, allocations: 0.8167 MB / 1.358 GB, free: 2.426 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/1.287, allocations: 134.4 kB / 1.359 GB, free: 2.285 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.287, allocations: 80.78 kB / 1.359 GB, free: 2.203 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/1.287, allocations: 4 kB / 1.359 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.287, allocations: 34.56 kB / 1.359 GB, free: 2.156 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/1.287, allocations: 0 / 1.359 GB, free: 2.156 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001921/1.289, allocations: 463.3 kB / 1.359 GB, free: 1.676 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/1.289, allocations: 51.41 kB / 1.359 GB, free: 1.613 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.289, allocations: 154.2 kB / 1.359 GB, free: 1.453 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/1.289, allocations: 33.64 kB / 1.359 GB, free: 1.414 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/1.289, allocations: 104.3 kB / 1.36 GB, free: 1.309 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/1.289, allocations: 35.48 kB / 1.36 GB, free: 1.273 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/1.289, allocations: 25.7 kB / 1.36 GB, free: 1.242 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.29, allocations: 326.8 kB / 1.36 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/1.29, allocations: 71.94 kB / 1.36 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.29, allocations: 100.2 kB / 1.36 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/1.291, allocations: 184.4 kB / 1.36 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.291, allocations: 4 kB / 1.36 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009938/1.292, allocations: 278.1 kB / 1.36 GB, free: 256 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.292, allocations: 7.938 kB / 1.36 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.292, allocations: 0 / 1.36 GB, free: 248 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/1.292, allocations: 92.83 kB / 1.361 GB, free: 152 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.292, allocations: 31.95 kB / 1.361 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.295, allocations: 1.654 MB / 1.362 GB, free: 14.31 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/1.295, allocations: 27.83 kB / 1.362 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/1.295, allocations: 7.984 kB / 1.362 GB, free: 14.28 MB / 1.092 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.0001266/1.295, allocations: 125.7 kB / 1.362 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/1.295, allocations: 7.906 kB / 1.362 GB, free: 14.14 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/1.296, allocations: 318.9 kB / 1.363 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.296, allocations: 4 kB / 1.363 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/1.296, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.296, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/1.296, allocations: 249.4 kB / 1.363 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.296, allocations: 0 / 1.363 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.297, allocations: 35.91 kB / 1.363 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/1.297, allocations: 80.94 kB / 1.363 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.297, allocations: 7.938 kB / 1.363 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/1.299, allocations: 1.674 MB / 1.365 GB, free: 11.58 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.299, allocations: 8 kB / 1.365 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/1.3, allocations: 376 kB / 1.365 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.3, allocations: 108.9 kB / 1.365 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.3, allocations: 3.938 kB / 1.365 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/1.3, allocations: 27.91 kB / 1.365 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/1.301, allocations: 7.984 kB / 1.365 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.301, allocations: 4 kB / 1.365 GB, free: 11.02 MB / 1.092 GB Notification: Performance of sorting global known variables: time 8.395e-05/1.301, allocations: 121.5 kB / 1.365 GB, free: 10.9 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.301, allocations: 0 / 1.365 GB, free: 10.9 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003269/1.301, allocations: 43.91 kB / 1.365 GB, free: 10.86 MB / 1.092 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.0002202/1.301, allocations: 115.2 kB / 1.365 GB, free: 10.73 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0008107/1.302, allocations: 306.3 kB / 1.366 GB, free: 10.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.302, allocations: 0 / 1.366 GB, free: 10.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/1.303, allocations: 226.8 kB / 1.366 GB, free: 10.19 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/1.303, allocations: 23.98 kB / 1.366 GB, free: 10.17 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/1.304, allocations: 311.4 kB / 1.366 GB, free: 9.836 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/1.304, allocations: 0.7124 MB / 1.367 GB, free: 9.098 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001194/1.304, allocations: 28.95 kB / 1.367 GB, free: 9.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/1.304, allocations: 15.42 kB / 1.367 GB, free: 9.055 MB / 1.092 GB Notification: Performance of SimCode: time 2.01e-07/1.304, allocations: 0 / 1.367 GB, free: 9.055 MB / 1.092 GB Notification: Performance of Templates: time 0.006694/1.311, allocations: 3.244 MB / 1.37 GB, free: 5.84 MB / 1.092 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/jenkins/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