Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001837/0.001837, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002413/0.002413, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",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.001976/0.001976, allocations: 69.7 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003471/0.3355, allocations: 1.706 MB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1941/0.5296, allocations: 153 MB / 1.435 GB, free: 412 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.5297, allocations: 0 / 1.435 GB, free: 412 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.5299, allocations: 27.8 kB / 1.435 GB, free: 384 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.5302, allocations: 51.56 kB / 1.435 GB, free: 332 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.5308, allocations: 195.3 kB / 1.436 GB, free: 136 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.5311, allocations: 163.6 kB / 1.436 GB, free: 15.97 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5312, allocations: 25.28 kB / 1.436 GB, free: 15.95 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.5326, allocations: 190.8 kB / 1.436 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.5328, allocations: 67.73 kB / 1.436 GB, free: 15.72 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.5328, allocations: 12 kB / 1.436 GB, free: 15.71 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.5331, allocations: 175.7 kB / 1.436 GB, free: 15.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.5332, allocations: 27.91 kB / 1.436 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.5332, allocations: 55.72 kB / 1.436 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.5336, allocations: 203.3 kB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5336, allocations: 0 / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5336, allocations: 0 / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.5336, allocations: 0 / 1.436 GB, free: 15.26 MB / 1.139 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.5345, allocations: 405.5 kB / 1.437 GB, free: 14.83 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5345, allocations: 15.97 kB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.5345, allocations: 4.125 kB / 1.437 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.5346, allocations: 46.69 kB / 1.437 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.5354, allocations: 84.31 kB / 1.437 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.5357, allocations: 137.1 kB / 1.437 GB, free: 14.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.5357, allocations: 4 kB / 1.437 GB, free: 14.51 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.5357, allocations: 8 kB / 1.437 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.5362, allocations: 185.7 kB / 1.437 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.5362, allocations: 0 / 1.437 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.5362, allocations: 4 kB / 1.437 GB, free: 14.3 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.5362, allocations: 7.984 kB / 1.437 GB, free: 14.29 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.5367, allocations: 147.7 kB / 1.437 GB, free: 14.14 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.5379, allocations: 0.7924 MB / 1.438 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.5384, allocations: 130.4 kB / 1.438 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.5386, allocations: 76.8 kB / 1.438 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.5387, allocations: 8 kB / 1.438 GB, free: 13.06 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5387, allocations: 34.56 kB / 1.438 GB, free: 13.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.5387, allocations: 0 / 1.438 GB, free: 13.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.001903/0.5406, allocations: 382.5 kB / 1.439 GB, free: 12.63 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.5406, allocations: 55.34 kB / 1.439 GB, free: 12.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.5408, allocations: 158.1 kB / 1.439 GB, free: 12.4 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5408, allocations: 29.7 kB / 1.439 GB, free: 12.36 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5409, allocations: 108.3 kB / 1.439 GB, free: 12.25 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.541, allocations: 27.75 kB / 1.439 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.541, allocations: 29.69 kB / 1.439 GB, free: 12.19 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5412, allocations: 318.8 kB / 1.439 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.5415, allocations: 71.92 kB / 1.44 GB, free: 11.8 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.5417, allocations: 104.2 kB / 1.44 GB, free: 11.68 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/0.5423, allocations: 180.2 kB / 1.44 GB, free: 11.49 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5423, allocations: 4 kB / 1.44 GB, free: 11.49 MB / 1.139 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001094/0.5434, allocations: 286.1 kB / 1.44 GB, free: 11.2 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5435, allocations: 4 kB / 1.44 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5435, allocations: 0 / 1.44 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.5441, allocations: 88.86 kB / 1.44 GB, free: 11.11 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.5443, allocations: 35.89 kB / 1.44 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.5467, allocations: 1.564 MB / 1.442 GB, free: 9.391 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.5469, allocations: 27.91 kB / 1.442 GB, free: 9.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.5469, allocations: 4 kB / 1.442 GB, free: 9.359 MB / 1.139 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.000134/0.547, allocations: 125.8 kB / 1.442 GB, free: 9.227 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.5471, allocations: 11.91 kB / 1.442 GB, free: 9.215 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5482, allocations: 314.9 kB / 1.442 GB, free: 8.898 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5482, allocations: 8 kB / 1.442 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.5482, allocations: 0 / 1.442 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5482, allocations: 0 / 1.442 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.5485, allocations: 216.5 kB / 1.442 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5485, allocations: 0 / 1.442 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.5487, allocations: 35.95 kB / 1.442 GB, free: 8.602 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.5492, allocations: 80.72 kB / 1.443 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.5492, allocations: 3.984 kB / 1.443 GB, free: 8.516 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.5513, allocations: 1.574 MB / 1.444 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5513, allocations: 3.938 kB / 1.444 GB, free: 6.812 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5524, allocations: 377.6 kB / 1.444 GB, free: 6.426 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5525, allocations: 27.91 kB / 1.444 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.5526, allocations: 7.938 kB / 1.444 GB, free: 6.391 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.5528, allocations: 19.98 kB / 1.444 GB, free: 6.371 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.5529, allocations: 19.84 kB / 1.444 GB, free: 6.352 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5529, allocations: 8 kB / 1.445 GB, free: 6.344 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001076/0.553, allocations: 113.3 kB / 1.445 GB, free: 6.234 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.553, allocations: 0 / 1.445 GB, free: 6.234 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003662/0.5533, allocations: 43.94 kB / 1.445 GB, free: 6.191 MB / 1.139 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.001772/0.5551, allocations: 0.9199 MB / 1.446 GB, free: 5.242 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.5562, allocations: 305.8 kB / 1.446 GB, free: 4.934 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5562, allocations: 0 / 1.446 GB, free: 4.934 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.5568, allocations: 230.5 kB / 1.446 GB, free: 4.695 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.5571, allocations: 34.05 kB / 1.446 GB, free: 4.664 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.5614, allocations: 2.073 MB / 1.448 GB, free: 2.488 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.5618, allocations: 0.7124 MB / 1.449 GB, free: 1.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.562, allocations: 20.97 kB / 1.449 GB, free: 1.727 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5621, allocations: 35.42 kB / 1.449 GB, free: 1.691 MB / 1.139 GB Notification: Performance of SimCode: time 8.62e-07/0.5621, allocations: 0 / 1.449 GB, free: 1.691 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.5909, allocations: 4.911 MB / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.81, allocations: 10.91 kB / 1.454 GB, free: 12.95 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.391461576044094]