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.001751/0.001751, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00217/0.00217, allocations: 210.2 kB / 20.13 MB, free: 2.949 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 / 253.5 MB, free: 15.11 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.93/2.93, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] 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.002082/0.002082, allocations: 71.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.944/0.9461, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.005606/0.9517, allocations: 1.695 MB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2299/1.182, allocations: 153 MB / 1.43 GB, free: 1.281 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/1.182, allocations: 0 / 1.43 GB, free: 1.281 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/1.182, allocations: 27.73 kB / 1.43 GB, free: 1.254 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/1.182, allocations: 51.62 kB / 1.43 GB, free: 1.203 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/1.183, allocations: 187.3 kB / 1.43 GB, free: 1.02 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/1.183, allocations: 167.5 kB / 1.43 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/1.183, allocations: 25.09 kB / 1.43 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/1.185, allocations: 195.7 kB / 1.431 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/1.185, allocations: 63.69 kB / 1.431 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/1.185, allocations: 12 kB / 1.431 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/1.185, allocations: 175.8 kB / 1.431 GB, free: 424 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/1.185, allocations: 27.91 kB / 1.431 GB, free: 396 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/1.185, allocations: 47.73 kB / 1.431 GB, free: 348 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/1.186, allocations: 223.2 kB / 1.431 GB, free: 124 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.186, allocations: 0 / 1.431 GB, free: 124 kB / 1.107 GB Notification: Performance of FrontEnd: time 2.655e-06/1.186, allocations: 0 / 1.431 GB, free: 124 kB / 1.107 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.186, allocations: 0 / 1.431 GB, free: 124 kB / 1.107 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.001071/1.187, allocations: 479.9 kB / 1.432 GB, free: 15.6 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.187, allocations: 8.031 kB / 1.432 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.343e-05/1.187, allocations: 4.188 kB / 1.432 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/1.187, allocations: 42.73 kB / 1.432 GB, free: 15.54 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/1.188, allocations: 75.06 kB / 1.432 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/1.188, allocations: 210.8 kB / 1.432 GB, free: 15.22 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.188, allocations: 4 kB / 1.432 GB, free: 15.22 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/1.188, allocations: 8 kB / 1.432 GB, free: 15.21 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/1.189, allocations: 189.8 kB / 1.432 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.189, allocations: 0 / 1.432 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/1.189, allocations: 0 / 1.432 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.189, allocations: 4 kB / 1.432 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/1.189, allocations: 151.7 kB / 1.432 GB, free: 14.85 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.191, allocations: 0.8243 MB / 1.433 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/1.191, allocations: 126.5 kB / 1.433 GB, free: 13.82 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/1.191, allocations: 72.8 kB / 1.433 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/1.191, allocations: 4.141 kB / 1.433 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/1.191, allocations: 38.56 kB / 1.433 GB, free: 13.69 MB / 1.123 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/1.191, allocations: 4 kB / 1.433 GB, free: 13.69 MB / 1.123 GB Notification: Performance of matching and sorting (n=8): time 0.002083/1.193, allocations: 455.4 kB / 1.434 GB, free: 13.21 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.193, allocations: 55.41 kB / 1.434 GB, free: 13.15 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/1.194, allocations: 149.5 kB / 1.434 GB, free: 13 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/1.194, allocations: 29.7 kB / 1.434 GB, free: 12.96 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/1.194, allocations: 116.3 kB / 1.434 GB, free: 12.84 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.194, allocations: 27.73 kB / 1.434 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/1.194, allocations: 33.7 kB / 1.434 GB, free: 12.78 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.194, allocations: 318.8 kB / 1.434 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.194, allocations: 71.88 kB / 1.435 GB, free: 12.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/1.195, allocations: 112.2 kB / 1.435 GB, free: 12.26 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/1.195, allocations: 184.1 kB / 1.435 GB, free: 12.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.195, allocations: 0 / 1.435 GB, free: 12.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001133/1.196, allocations: 278.1 kB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.196, allocations: 9.875 kB / 1.435 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.196, allocations: 128 / 1.435 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.197, allocations: 92.75 kB / 1.435 GB, free: 11.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/1.197, allocations: 31.97 kB / 1.435 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/1.2, allocations: 1.666 MB / 1.437 GB, free: 9.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/1.2, allocations: 27.91 kB / 1.437 GB, free: 9.812 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/1.2, allocations: 7.984 kB / 1.437 GB, free: 9.805 MB / 1.123 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.0001233/1.2, allocations: 113.8 kB / 1.437 GB, free: 9.684 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/1.2, allocations: 11.95 kB / 1.437 GB, free: 9.672 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.201, allocations: 325.8 kB / 1.437 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.201, allocations: 0 / 1.437 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/1.201, allocations: 0 / 1.437 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.201, allocations: 4 kB / 1.437 GB, free: 9.348 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/1.201, allocations: 245.4 kB / 1.438 GB, free: 9.059 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.201, allocations: 0 / 1.438 GB, free: 9.059 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/1.202, allocations: 27.97 kB / 1.438 GB, free: 9.031 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/1.202, allocations: 76.77 kB / 1.438 GB, free: 8.953 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.202, allocations: 0 / 1.438 GB, free: 8.953 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.204, allocations: 1.689 MB / 1.439 GB, free: 7.117 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.204, allocations: 4.062 kB / 1.439 GB, free: 7.113 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.205, allocations: 372 kB / 1.44 GB, free: 6.73 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.205, allocations: 104.9 kB / 1.44 GB, free: 6.609 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.205, allocations: 15.98 kB / 1.44 GB, free: 6.594 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.206, allocations: 11.98 kB / 1.44 GB, free: 6.582 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.206, allocations: 15.98 kB / 1.44 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.206, allocations: 7.984 kB / 1.44 GB, free: 6.559 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.968e-05/1.206, allocations: 111.3 kB / 1.44 GB, free: 6.449 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.206, allocations: 3.938 kB / 1.44 GB, free: 6.445 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003542/1.206, allocations: 40 kB / 1.44 GB, free: 6.406 MB / 1.123 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.001522/1.208, allocations: 0.9288 MB / 1.441 GB, free: 5.449 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009474/1.209, allocations: 302.7 kB / 1.441 GB, free: 5.141 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.209, allocations: 0 / 1.441 GB, free: 5.141 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/1.209, allocations: 235.1 kB / 1.441 GB, free: 4.898 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/1.21, allocations: 19.92 kB / 1.441 GB, free: 4.879 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/1.214, allocations: 2.067 MB / 1.443 GB, free: 2.703 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/1.214, allocations: 0.7162 MB / 1.444 GB, free: 1.961 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001399/1.214, allocations: 24.81 kB / 1.444 GB, free: 1.934 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/1.215, allocations: 39.34 kB / 1.444 GB, free: 1.895 MB / 1.123 GB Notification: Performance of SimCode: time 5.81e-07/1.215, allocations: 0 / 1.444 GB, free: 1.895 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/1.244, allocations: 4.811 MB / 1.449 GB, free: 13.28 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.85, allocations: 6.453 kB / 1.449 GB, free: 13.28 MB / 1.139 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.333507521951105]