Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 216.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 65.7 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003253/0.3516, allocations: 1.705 MB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1875/0.5391, allocations: 153 MB / 1.477 GB, free: 6.512 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.5392, allocations: 0 / 1.477 GB, free: 6.512 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.5394, allocations: 31.73 kB / 1.477 GB, free: 6.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.5396, allocations: 51.62 kB / 1.477 GB, free: 6.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.5401, allocations: 191.3 kB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.5403, allocations: 159.5 kB / 1.477 GB, free: 6.086 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.5405, allocations: 29.22 kB / 1.477 GB, free: 6.059 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.5418, allocations: 204.3 kB / 1.478 GB, free: 5.883 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.542, allocations: 63.69 kB / 1.478 GB, free: 5.82 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.542, allocations: 12 kB / 1.478 GB, free: 5.809 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.5423, allocations: 175.8 kB / 1.478 GB, free: 5.637 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.5424, allocations: 19.92 kB / 1.478 GB, free: 5.617 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.5424, allocations: 59.72 kB / 1.478 GB, free: 5.559 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.5428, allocations: 219.2 kB / 1.478 GB, free: 5.344 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5428, allocations: 0 / 1.478 GB, free: 5.344 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5428, allocations: 0 / 1.478 GB, free: 5.344 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5428, allocations: 3.938 kB / 1.478 GB, free: 5.34 MB / 1.17 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.0008865/0.5437, allocations: 397.5 kB / 1.479 GB, free: 4.922 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5437, allocations: 12.03 kB / 1.479 GB, free: 4.91 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.5438, allocations: 34.75 kB / 1.479 GB, free: 4.867 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.5447, allocations: 88.5 kB / 1.479 GB, free: 4.781 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5449, allocations: 145 kB / 1.479 GB, free: 4.613 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.5449, allocations: 4 kB / 1.479 GB, free: 4.609 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.545, allocations: 8 kB / 1.479 GB, free: 4.602 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.5454, allocations: 186.8 kB / 1.479 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5454, allocations: 0 / 1.479 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5454, allocations: 0 / 1.479 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5455, allocations: 4 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.546, allocations: 155.7 kB / 1.479 GB, free: 4.242 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.5472, allocations: 0.7886 MB / 1.48 GB, free: 3.383 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.5476, allocations: 126.5 kB / 1.48 GB, free: 3.25 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.5479, allocations: 76.8 kB / 1.48 GB, free: 3.172 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.5479, allocations: 160 / 1.48 GB, free: 3.172 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.5479, allocations: 34.55 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.5479, allocations: 0 / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.001978/0.5499, allocations: 386.1 kB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.5499, allocations: 59.34 kB / 1.481 GB, free: 2.672 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.5501, allocations: 153.8 kB / 1.481 GB, free: 2.516 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.5501, allocations: 29.7 kB / 1.481 GB, free: 2.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.5502, allocations: 108.2 kB / 1.481 GB, free: 2.371 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.5502, allocations: 27.75 kB / 1.481 GB, free: 2.344 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.5503, allocations: 41.69 kB / 1.481 GB, free: 2.297 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5504, allocations: 314.8 kB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.5507, allocations: 67.92 kB / 1.481 GB, free: 1.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.5509, allocations: 112.1 kB / 1.481 GB, free: 1.789 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.5515, allocations: 188 kB / 1.482 GB, free: 1.59 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5515, allocations: 0 / 1.482 GB, free: 1.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001062/0.5525, allocations: 270.2 kB / 1.482 GB, free: 1.316 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5526, allocations: 11.94 kB / 1.482 GB, free: 1.305 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5526, allocations: 0 / 1.482 GB, free: 1.305 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.5532, allocations: 84.89 kB / 1.482 GB, free: 1.219 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.5534, allocations: 35.95 kB / 1.482 GB, free: 1.184 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.5558, allocations: 1.567 MB / 1.483 GB, free: 15.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.556, allocations: 27.95 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.5561, allocations: 7.938 kB / 1.484 GB, free: 15.46 MB / 1.186 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.0001287/0.5562, allocations: 122.4 kB / 1.484 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.5562, allocations: 11.91 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5573, allocations: 317.7 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5573, allocations: 0 / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.5573, allocations: 4 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5573, allocations: 0 / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.5576, allocations: 212.6 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5576, allocations: 4 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.5578, allocations: 31.95 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.5583, allocations: 72.78 kB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.5583, allocations: 11.92 kB / 1.484 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.5603, allocations: 1.578 MB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5603, allocations: 0 / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.5614, allocations: 388.1 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.5615, allocations: 23.92 kB / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.5615, allocations: 0 / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.5618, allocations: 19.92 kB / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.5618, allocations: 19.97 kB / 1.486 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.5618, allocations: 4 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.41e-05/0.5619, allocations: 113.5 kB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5619, allocations: 3.938 kB / 1.486 GB, free: 12.35 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003525/0.5623, allocations: 43.94 kB / 1.486 GB, free: 12.31 MB / 1.186 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.001455/0.5637, allocations: 0.9277 MB / 1.487 GB, free: 11.35 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009322/0.5647, allocations: 302.7 kB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5647, allocations: 0 / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.5652, allocations: 234.5 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.5656, allocations: 30.36 kB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.5697, allocations: 2.062 MB / 1.49 GB, free: 8.602 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.57, allocations: 0.7124 MB / 1.491 GB, free: 7.863 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.5702, allocations: 20.97 kB / 1.491 GB, free: 7.844 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-05/0.5703, allocations: 35.52 kB / 1.491 GB, free: 7.812 MB / 1.186 GB Notification: Performance of SimCode: time 5.01e-07/0.5703, allocations: 0 / 1.491 GB, free: 7.812 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.6051, allocations: 4.9 MB / 1.495 GB, free: 3.074 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.09, allocations: 0 / 1.495 GB, free: 3.074 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.896759344999737]