Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003238/0.003238, allocations: 67.89 kB / 1.056 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9623, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003353/0.9656, allocations: 1.691 MB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.2188/1.184, allocations: 150.1 MB / 1.361 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/1.185, allocations: 4 kB / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/1.185, allocations: 19.8 kB / 1.361 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/1.185, allocations: 63.56 kB / 1.361 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/1.186, allocations: 179.3 kB / 1.361 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/1.186, allocations: 167.4 kB / 1.362 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/1.186, allocations: 21.11 kB / 1.362 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/1.188, allocations: 199.8 kB / 1.362 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/1.188, allocations: 55.77 kB / 1.362 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/1.188, allocations: 12 kB / 1.362 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/1.188, allocations: 171.7 kB / 1.362 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/1.188, allocations: 27.84 kB / 1.362 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/1.188, allocations: 51.73 kB / 1.362 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/1.189, allocations: 199.3 kB / 1.362 GB, free: 14.7 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.189, allocations: 3.984 kB / 1.362 GB, free: 14.7 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.824e-06/1.189, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.189, allocations: 4 kB / 1.362 GB, free: 14.7 MB / 1.076 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.0009872/1.19, allocations: 478.5 kB / 1.363 GB, free: 14.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.19, allocations: 8.625 kB / 1.363 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/1.19, allocations: 42.75 kB / 1.363 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006448/1.191, allocations: 56.58 kB / 1.363 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/1.191, allocations: 206.8 kB / 1.363 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.191, allocations: 8 kB / 1.363 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/1.191, allocations: 4 kB / 1.363 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/1.191, allocations: 185.8 kB / 1.363 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.191, allocations: 0 / 1.363 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/1.191, allocations: 0 / 1.363 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/1.191, allocations: 4 kB / 1.363 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/1.192, allocations: 151.7 kB / 1.363 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/1.193, allocations: 0.8168 MB / 1.364 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/1.194, allocations: 122.5 kB / 1.364 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/1.194, allocations: 76.8 kB / 1.364 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/1.194, allocations: 0 / 1.364 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.194, allocations: 42.66 kB / 1.364 GB, free: 12.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/1.194, allocations: 0 / 1.364 GB, free: 12.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.00196/1.196, allocations: 455.2 kB / 1.365 GB, free: 11.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/1.196, allocations: 63.34 kB / 1.365 GB, free: 11.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.196, allocations: 148.4 kB / 1.365 GB, free: 11.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/1.196, allocations: 29.7 kB / 1.365 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/1.196, allocations: 116.3 kB / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/1.196, allocations: 31.67 kB / 1.365 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/1.196, allocations: 37.66 kB / 1.365 GB, free: 11.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.196, allocations: 318.8 kB / 1.366 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/1.197, allocations: 63.94 kB / 1.366 GB, free: 11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/1.197, allocations: 112.2 kB / 1.366 GB, free: 10.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/1.197, allocations: 176.1 kB / 1.366 GB, free: 10.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.197, allocations: 0 / 1.366 GB, free: 10.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001056/1.199, allocations: 278.2 kB / 1.366 GB, free: 10.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.199, allocations: 11.94 kB / 1.366 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.199, allocations: 3.984 kB / 1.366 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/1.199, allocations: 84.83 kB / 1.366 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/1.199, allocations: 39.89 kB / 1.366 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/1.202, allocations: 1.661 MB / 1.368 GB, free: 8.465 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/1.202, allocations: 31.86 kB / 1.368 GB, free: 8.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/1.202, allocations: 7.938 kB / 1.368 GB, free: 8.426 MB / 1.076 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.0001438/1.202, allocations: 125.9 kB / 1.368 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/1.202, allocations: 11.95 kB / 1.368 GB, free: 8.281 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.203, allocations: 306.9 kB / 1.368 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/1.203, allocations: 4.188 kB / 1.368 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/1.203, allocations: 0 / 1.368 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.203, allocations: 7.969 kB / 1.368 GB, free: 7.965 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/1.204, allocations: 237.5 kB / 1.369 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.204, allocations: 3.984 kB / 1.369 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/1.204, allocations: 31.91 kB / 1.369 GB, free: 7.648 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/1.204, allocations: 76.78 kB / 1.369 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/1.204, allocations: 11.86 kB / 1.369 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/1.207, allocations: 1.679 MB / 1.37 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.207, allocations: 0 / 1.37 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.208, allocations: 380.1 kB / 1.371 GB, free: 5.344 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.208, allocations: 108.9 kB / 1.371 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/1.208, allocations: 4 kB / 1.371 GB, free: 5.215 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/1.208, allocations: 23.92 kB / 1.371 GB, free: 5.191 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/1.208, allocations: 11.97 kB / 1.371 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/1.208, allocations: 8 kB / 1.371 GB, free: 5.172 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001063/1.208, allocations: 113.9 kB / 1.371 GB, free: 5.062 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.208, allocations: 0 / 1.371 GB, free: 5.062 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003477/1.209, allocations: 43.94 kB / 1.371 GB, free: 5.02 MB / 1.076 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.001479/1.21, allocations: 0.9199 MB / 1.372 GB, free: 4.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009214/1.211, allocations: 310.6 kB / 1.372 GB, free: 3.754 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.211, allocations: 0 / 1.372 GB, free: 3.754 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/1.212, allocations: 225 kB / 1.372 GB, free: 3.523 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/1.212, allocations: 36.3 kB / 1.372 GB, free: 3.488 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/1.216, allocations: 2.063 MB / 1.374 GB, free: 1.316 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/1.216, allocations: 0.7124 MB / 1.375 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001403/1.217, allocations: 28.86 kB / 1.375 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/1.217, allocations: 35.41 kB / 1.375 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/1.217, allocations: 0 / 1.375 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/1.251, allocations: 4.759 MB / 1.38 GB, free: 11.93 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.28, allocations: 13.88 kB / 1.38 GB, free: 11.91 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.504586077760905]