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.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.001546/0.001546, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001528/0.001528, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.339/3.339, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_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.00199/0.00199, allocations: 66.23 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.368, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003108/0.3711, allocations: 1.661 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1701/0.5412, allocations: 131.4 MB / 1.475 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.5413, allocations: 3.938 kB / 1.475 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.5415, allocations: 27.8 kB / 1.475 GB, free: 10.31 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.5418, allocations: 59.62 kB / 1.475 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.5423, allocations: 187.3 kB / 1.476 GB, free: 10.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.5426, allocations: 159.5 kB / 1.476 GB, free: 9.91 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.5427, allocations: 21.3 kB / 1.476 GB, free: 9.891 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.5442, allocations: 202 kB / 1.476 GB, free: 9.719 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.5443, allocations: 71.73 kB / 1.476 GB, free: 9.648 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.5443, allocations: 8 kB / 1.476 GB, free: 9.641 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.5447, allocations: 163.8 kB / 1.476 GB, free: 9.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.5447, allocations: 27.84 kB / 1.476 GB, free: 9.453 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.5448, allocations: 47.78 kB / 1.476 GB, free: 9.406 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.5452, allocations: 211.3 kB / 1.476 GB, free: 9.199 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5452, allocations: 0 / 1.476 GB, free: 9.199 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5452, allocations: 0 / 1.476 GB, free: 9.199 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.5452, allocations: 3.938 kB / 1.476 GB, free: 9.195 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.0008983/0.5461, allocations: 405.4 kB / 1.477 GB, free: 8.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5461, allocations: 16.02 kB / 1.477 GB, free: 8.754 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.5461, allocations: 192 / 1.477 GB, free: 8.754 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.5462, allocations: 38.75 kB / 1.477 GB, free: 8.707 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009087/0.5471, allocations: 76.38 kB / 1.477 GB, free: 8.633 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.5474, allocations: 156.9 kB / 1.477 GB, free: 8.453 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5474, allocations: 8 kB / 1.477 GB, free: 8.445 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.5475, allocations: 4 kB / 1.477 GB, free: 8.441 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.5479, allocations: 184.2 kB / 1.477 GB, free: 8.242 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5479, allocations: 7.938 kB / 1.477 GB, free: 8.234 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.548, allocations: 4 kB / 1.477 GB, free: 8.23 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.548, allocations: 0 / 1.477 GB, free: 8.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.5485, allocations: 151.7 kB / 1.477 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.5497, allocations: 0.7112 MB / 1.478 GB, free: 7.312 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.5501, allocations: 126.5 kB / 1.478 GB, free: 7.18 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.5504, allocations: 72.8 kB / 1.478 GB, free: 7.105 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.5504, allocations: 0 / 1.478 GB, free: 7.105 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5504, allocations: 34.56 kB / 1.478 GB, free: 7.062 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.5504, allocations: 4 kB / 1.478 GB, free: 7.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.001996/0.5524, allocations: 390.4 kB / 1.479 GB, free: 6.668 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5525, allocations: 55.34 kB / 1.479 GB, free: 6.602 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.5526, allocations: 160.7 kB / 1.479 GB, free: 6.438 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.5527, allocations: 25.7 kB / 1.479 GB, free: 6.406 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.5527, allocations: 104.3 kB / 1.479 GB, free: 6.301 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.5528, allocations: 27.75 kB / 1.479 GB, free: 6.273 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.5529, allocations: 37.64 kB / 1.479 GB, free: 6.23 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.553, allocations: 318.8 kB / 1.479 GB, free: 5.91 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.5533, allocations: 75.92 kB / 1.479 GB, free: 5.836 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.5536, allocations: 104.1 kB / 1.48 GB, free: 5.719 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.5541, allocations: 184.2 kB / 1.48 GB, free: 5.523 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5541, allocations: 0 / 1.48 GB, free: 5.523 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001122/0.5553, allocations: 282.1 kB / 1.48 GB, free: 5.238 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5553, allocations: 8.125 kB / 1.48 GB, free: 5.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5553, allocations: 0 / 1.48 GB, free: 5.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/0.5559, allocations: 80.77 kB / 1.48 GB, free: 5.148 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.5562, allocations: 39.95 kB / 1.48 GB, free: 5.109 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.5586, allocations: 1.554 MB / 1.482 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.5589, allocations: 27.91 kB / 1.482 GB, free: 3.406 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.5589, allocations: 7.984 kB / 1.482 GB, free: 3.398 MB / 1.17 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.0001455/0.559, allocations: 121.9 kB / 1.482 GB, free: 3.27 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.5591, allocations: 7.953 kB / 1.482 GB, free: 3.262 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.5602, allocations: 317.5 kB / 1.482 GB, free: 2.949 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5602, allocations: 8 kB / 1.482 GB, free: 2.941 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.5602, allocations: 0 / 1.482 GB, free: 2.941 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5602, allocations: 0 / 1.482 GB, free: 2.941 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.5605, allocations: 196.6 kB / 1.482 GB, free: 2.707 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5605, allocations: 3.938 kB / 1.482 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.5607, allocations: 27.97 kB / 1.482 GB, free: 2.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.5612, allocations: 88.64 kB / 1.482 GB, free: 2.586 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.5612, allocations: 0 / 1.482 GB, free: 2.586 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.5634, allocations: 1.57 MB / 1.484 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5634, allocations: 0 / 1.484 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.5645, allocations: 380.1 kB / 1.484 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/0.5645, allocations: 27.88 kB / 1.484 GB, free: 484 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.5646, allocations: 12 kB / 1.484 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5648, allocations: 23.97 kB / 1.484 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.5649, allocations: 11.98 kB / 1.484 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.5649, allocations: 7.984 kB / 1.484 GB, free: 428 kB / 1.17 GB Notification: Performance of sorting global known variables: time 9.421e-05/0.565, allocations: 110.9 kB / 1.484 GB, free: 320 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.565, allocations: 0 / 1.484 GB, free: 320 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003612/0.5653, allocations: 47.92 kB / 1.485 GB, free: 272 kB / 1.17 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.001553/0.5669, allocations: 0.9214 MB / 1.485 GB, free: 15.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.5679, allocations: 305.9 kB / 1.486 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5679, allocations: 4.25 kB / 1.486 GB, free: 15 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.5685, allocations: 226.5 kB / 1.486 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.5688, allocations: 31.92 kB / 1.486 GB, free: 14.74 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.5731, allocations: 2.065 MB / 1.488 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.5732, allocations: 93.69 kB / 1.488 GB, free: 12.45 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.5734, allocations: 24.97 kB / 1.488 GB, free: 12.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5735, allocations: 39.41 kB / 1.488 GB, free: 12.39 MB / 1.186 GB Notification: Performance of SimCode: time 9.51e-07/0.5735, allocations: 3.938 kB / 1.488 GB, free: 12.38 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.614, allocations: 5.015 MB / 1.493 GB, free: 7.555 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.64, allocations: 17.11 kB / 1.493 GB, free: 7.543 MB / 1.186 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.76522068993654]