Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001445/0.001445, allocations: 106.4 kB / 16.41 MB, free: 6.453 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.001621/0.001621, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9617/0.9631, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002981/0.9661, allocations: 1.667 MB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2122/1.178, allocations: 149.7 MB / 1.236 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/1.179, allocations: 1.062 kB / 1.236 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/1.179, allocations: 20.89 kB / 1.236 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/1.179, allocations: 58.78 kB / 1.236 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/1.18, allocations: 180.6 kB / 1.237 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/1.18, allocations: 166.3 kB / 1.237 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/1.181, allocations: 30.05 kB / 1.237 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/1.182, allocations: 205.6 kB / 1.237 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/1.182, allocations: 59.75 kB / 1.237 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/1.182, allocations: 10.28 kB / 1.237 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/1.183, allocations: 156 kB / 1.237 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/1.183, allocations: 32.03 kB / 1.237 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/1.183, allocations: 54.91 kB / 1.237 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005482/1.184, allocations: 213.7 kB / 1.238 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.184, allocations: 0 / 1.238 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/1.184, allocations: 0 / 1.238 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.184, allocations: 1.188 kB / 1.238 GB, free: 3.086 MB / 0.9669 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.001058/1.185, allocations: 462.4 kB / 1.238 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.185, allocations: 9.438 kB / 1.238 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/1.185, allocations: 56.22 kB / 1.238 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/1.186, allocations: 200.7 kB / 1.238 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.186, allocations: 11.14 kB / 1.238 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/1.186, allocations: 9.719 kB / 1.238 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/1.186, allocations: 183.8 kB / 1.238 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.186, allocations: 1.156 kB / 1.238 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/1.186, allocations: 5.25 kB / 1.238 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.186, allocations: 2.531 kB / 1.238 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/1.187, allocations: 144.2 kB / 1.239 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/1.188, allocations: 0.8282 MB / 1.239 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/1.189, allocations: 133.9 kB / 1.24 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/1.189, allocations: 79.27 kB / 1.24 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/1.189, allocations: 5.359 kB / 1.24 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.189, allocations: 31.62 kB / 1.24 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/1.189, allocations: 1.156 kB / 1.24 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.001979/1.191, allocations: 461.4 kB / 1.24 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.191, allocations: 56.78 kB / 1.24 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/1.191, allocations: 153.9 kB / 1.24 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.191, allocations: 25.7 kB / 1.24 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/1.191, allocations: 109.8 kB / 1.24 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/1.191, allocations: 26.31 kB / 1.24 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/1.191, allocations: 35.31 kB / 1.24 GB, free: 500 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.192, allocations: 321.6 kB / 1.241 GB, free: 172 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.192, allocations: 75.69 kB / 1.241 GB, free: 132 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/1.192, allocations: 96.11 kB / 1.241 GB, free: 60 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/1.193, allocations: 184.4 kB / 1.241 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.193, allocations: 4 kB / 1.241 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001069/1.194, allocations: 274 kB / 1.241 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.194, allocations: 14 kB / 1.241 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.194, allocations: 1.844 kB / 1.241 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/1.194, allocations: 88.77 kB / 1.241 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.195, allocations: 36.95 kB / 1.242 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/1.197, allocations: 1.656 MB / 1.243 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/1.197, allocations: 34.91 kB / 1.243 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/1.197, allocations: 4.516 kB / 1.243 GB, free: 14.08 MB / 0.9825 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.0001385/1.197, allocations: 124 kB / 1.243 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/1.197, allocations: 9.406 kB / 1.243 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.199, allocations: 318 kB / 1.244 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.199, allocations: 2.469 kB / 1.244 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/1.199, allocations: 0 / 1.244 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.199, allocations: 0 / 1.244 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/1.199, allocations: 241.8 kB / 1.244 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.199, allocations: 1.594 kB / 1.244 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/1.199, allocations: 38.61 kB / 1.244 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/1.2, allocations: 71.41 kB / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/1.2, allocations: 9.609 kB / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/1.202, allocations: 1.682 MB / 1.246 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.202, allocations: 0 / 1.246 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/1.203, allocations: 380.1 kB / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.203, allocations: 108.7 kB / 1.246 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/1.203, allocations: 1.438 kB / 1.246 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/1.203, allocations: 15.67 kB / 1.246 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/1.203, allocations: 17.61 kB / 1.246 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/1.203, allocations: 7.391 kB / 1.246 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.669e-05/1.203, allocations: 117.7 kB / 1.246 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.203, allocations: 7.938 kB / 1.246 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003873/1.204, allocations: 40.25 kB / 1.246 GB, free: 11.31 MB / 0.9825 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.0002244/1.204, allocations: 107 kB / 1.246 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000971/1.205, allocations: 312.8 kB / 1.247 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.205, allocations: 0 / 1.247 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/1.206, allocations: 243.4 kB / 1.247 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/1.206, allocations: 22.86 kB / 1.247 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/1.207, allocations: 341.3 kB / 1.247 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/1.207, allocations: 0.7122 MB / 1.248 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/1.207, allocations: 19.95 kB / 1.248 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/1.207, allocations: 0 / 1.248 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of Templates: time 0.005747/1.213, allocations: 2.741 MB / 1.251 GB, free: 7.109 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches