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.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.001872/0.001872, allocations: 114 kB / 18.14 MB, free: 3.781 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.00218/0.00218, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.54/1.54, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.88 kB / 1.108 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.903/0.9049, allocations: 168.7 MB / 1.273 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003039/0.908, allocations: 1.694 MB / 1.274 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1817/1.09, allocations: 150.2 MB / 1.421 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/1.09, allocations: 0 / 1.421 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/1.09, allocations: 19.8 kB / 1.421 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/1.09, allocations: 59.58 kB / 1.421 GB, free: 11.78 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/1.091, allocations: 175.4 kB / 1.421 GB, free: 11.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/1.091, allocations: 171.5 kB / 1.422 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/1.091, allocations: 17.12 kB / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/1.092, allocations: 209.6 kB / 1.422 GB, free: 11.24 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/1.093, allocations: 63.75 kB / 1.422 GB, free: 11.18 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/1.093, allocations: 12 kB / 1.422 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/1.093, allocations: 163.8 kB / 1.422 GB, free: 11 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/1.093, allocations: 19.92 kB / 1.422 GB, free: 10.98 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/1.093, allocations: 55.72 kB / 1.422 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003685/1.093, allocations: 207.2 kB / 1.422 GB, free: 10.73 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.093, allocations: 0 / 1.422 GB, free: 10.73 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.623e-06/1.093, allocations: 3.938 kB / 1.422 GB, free: 10.72 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.311e-06/1.093, allocations: 0 / 1.422 GB, free: 10.72 MB / 1.123 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.0009118/1.094, allocations: 474.6 kB / 1.423 GB, free: 10.21 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.094, allocations: 12.03 kB / 1.423 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/1.094, allocations: 38.73 kB / 1.423 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/1.095, allocations: 60.58 kB / 1.423 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/1.095, allocations: 202.8 kB / 1.423 GB, free: 9.855 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.095, allocations: 8 kB / 1.423 GB, free: 9.848 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/1.095, allocations: 4 kB / 1.423 GB, free: 9.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/1.096, allocations: 185.8 kB / 1.423 GB, free: 9.641 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.096, allocations: 3.938 kB / 1.423 GB, free: 9.637 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/1.096, allocations: 4 kB / 1.423 GB, free: 9.633 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.096, allocations: 4 kB / 1.423 GB, free: 9.629 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/1.096, allocations: 147.7 kB / 1.423 GB, free: 9.484 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/1.098, allocations: 0.8207 MB / 1.424 GB, free: 8.586 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/1.098, allocations: 134.4 kB / 1.424 GB, free: 8.445 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/1.098, allocations: 72.8 kB / 1.424 GB, free: 8.371 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/1.098, allocations: 4 kB / 1.424 GB, free: 8.367 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.098, allocations: 30.56 kB / 1.424 GB, free: 8.328 MB / 1.123 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/1.098, allocations: 4 kB / 1.424 GB, free: 8.324 MB / 1.123 GB Notification: Performance of matching and sorting (n=8): time 0.00209/1.1, allocations: 463.3 kB / 1.425 GB, free: 7.844 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.1, allocations: 55.34 kB / 1.425 GB, free: 7.777 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/1.101, allocations: 147.3 kB / 1.425 GB, free: 7.621 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.101, allocations: 29.7 kB / 1.425 GB, free: 7.586 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/1.101, allocations: 112.3 kB / 1.425 GB, free: 7.473 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/1.101, allocations: 23.8 kB / 1.425 GB, free: 7.449 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/1.101, allocations: 41.64 kB / 1.425 GB, free: 7.402 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.101, allocations: 318.8 kB / 1.426 GB, free: 7.082 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/1.101, allocations: 67.92 kB / 1.426 GB, free: 7.016 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/1.102, allocations: 104.2 kB / 1.426 GB, free: 6.898 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/1.102, allocations: 180.4 kB / 1.426 GB, free: 6.707 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.102, allocations: 0 / 1.426 GB, free: 6.707 MB / 1.123 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001121/1.103, allocations: 282.1 kB / 1.426 GB, free: 6.422 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.103, allocations: 17.44 kB / 1.426 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.103, allocations: 4.125 kB / 1.426 GB, free: 6.402 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/1.104, allocations: 76.77 kB / 1.426 GB, free: 6.324 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/1.104, allocations: 43.95 kB / 1.426 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/1.106, allocations: 1.658 MB / 1.428 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/1.107, allocations: 23.88 kB / 1.428 GB, free: 4.461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/1.107, allocations: 11.92 kB / 1.428 GB, free: 4.449 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.0001577/1.107, allocations: 117.8 kB / 1.428 GB, free: 4.324 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/1.107, allocations: 11.95 kB / 1.428 GB, free: 4.312 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/1.108, allocations: 312.2 kB / 1.428 GB, free: 3.996 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.108, allocations: 0 / 1.428 GB, free: 3.996 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.108, allocations: 3.938 kB / 1.428 GB, free: 3.992 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.108, allocations: 8 kB / 1.428 GB, free: 3.984 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/1.108, allocations: 249.4 kB / 1.429 GB, free: 3.691 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.108, allocations: 0 / 1.429 GB, free: 3.691 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/1.109, allocations: 31.95 kB / 1.429 GB, free: 3.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/1.109, allocations: 76.72 kB / 1.429 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/1.109, allocations: 3.938 kB / 1.429 GB, free: 3.578 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/1.111, allocations: 1.693 MB / 1.43 GB, free: 1.742 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.111, allocations: 0 / 1.43 GB, free: 1.742 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/1.112, allocations: 380.1 kB / 1.431 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.112, allocations: 100.9 kB / 1.431 GB, free: 1.234 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/1.112, allocations: 7.984 kB / 1.431 GB, free: 1.227 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.113, allocations: 19.92 kB / 1.431 GB, free: 1.207 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/1.113, allocations: 15.98 kB / 1.431 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/1.113, allocations: 7.984 kB / 1.431 GB, free: 1.184 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.919e-05/1.113, allocations: 109.1 kB / 1.431 GB, free: 1.078 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.113, allocations: 3.938 kB / 1.431 GB, free: 1.074 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003459/1.113, allocations: 47.92 kB / 1.431 GB, free: 1.027 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.001518/1.115, allocations: 0.9274 MB / 1.432 GB, free: 72 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000962/1.116, allocations: 302.7 kB / 1.432 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.116, allocations: 0 / 1.432 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005556/1.116, allocations: 226.5 kB / 1.432 GB, free: 15.53 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.116, allocations: 19.98 kB / 1.432 GB, free: 15.51 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/1.121, allocations: 2.077 MB / 1.434 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.121, allocations: 0.7163 MB / 1.435 GB, free: 12.57 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001357/1.121, allocations: 24.81 kB / 1.435 GB, free: 12.55 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/1.121, allocations: 35.42 kB / 1.435 GB, free: 12.52 MB / 1.139 GB Notification: Performance of SimCode: time 4.41e-07/1.121, allocations: 0 / 1.435 GB, free: 12.52 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/1.154, allocations: 4.778 MB / 1.44 GB, free: 7.895 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.15, allocations: 9.547 kB / 1.44 GB, free: 7.887 MB / 1.139 GB " [Timeout remaining time 287] (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_2/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: 19.36451805382967]