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.00133/0.00133, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001372/0.001372, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] 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.453/2.453, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 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.001793/0.001793, allocations: 60.09 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7724, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002266/0.7747, allocations: 1.698 MB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9467, allocations: 150.2 MB / 1.42 GB, free: 7.137 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.9468, allocations: 2.375 kB / 1.42 GB, free: 7.137 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.947, allocations: 29.11 kB / 1.42 GB, free: 7.109 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.9473, allocations: 41.66 kB / 1.42 GB, free: 7.078 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.9478, allocations: 188.5 kB / 1.42 GB, free: 6.934 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.948, allocations: 163 kB / 1.42 GB, free: 6.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.9481, allocations: 29.36 kB / 1.42 GB, free: 6.82 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.9495, allocations: 193.8 kB / 1.42 GB, free: 6.734 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.9496, allocations: 72.86 kB / 1.42 GB, free: 6.684 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.9496, allocations: 9.562 kB / 1.42 GB, free: 6.684 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.95, allocations: 160.4 kB / 1.421 GB, free: 6.609 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.95, allocations: 27.25 kB / 1.421 GB, free: 6.586 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.9501, allocations: 52.06 kB / 1.421 GB, free: 6.551 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.9504, allocations: 203 kB / 1.421 GB, free: 6.426 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9504, allocations: 1.375 kB / 1.421 GB, free: 6.426 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9504, allocations: 4 kB / 1.421 GB, free: 6.422 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9504, allocations: 0 / 1.421 GB, free: 6.422 MB / 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.0008685/0.9513, allocations: 473.9 kB / 1.421 GB, free: 5.973 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.9513, allocations: 14.03 kB / 1.421 GB, free: 5.969 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.9514, allocations: 41.02 kB / 1.421 GB, free: 5.922 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.952, allocations: 59.61 kB / 1.421 GB, free: 5.895 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.9522, allocations: 206.8 kB / 1.422 GB, free: 5.668 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.9522, allocations: 11.31 kB / 1.422 GB, free: 5.66 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.9523, allocations: 8.781 kB / 1.422 GB, free: 5.656 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.9527, allocations: 180.1 kB / 1.422 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.9527, allocations: 0 / 1.422 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.9527, allocations: 9.969 kB / 1.422 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.9527, allocations: 2 kB / 1.422 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.9532, allocations: 148.5 kB / 1.422 GB, free: 5.43 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.9544, allocations: 0.8246 MB / 1.423 GB, free: 4.613 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.9548, allocations: 127.5 kB / 1.423 GB, free: 4.535 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.955, allocations: 77.45 kB / 1.423 GB, free: 4.492 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.955, allocations: 1.438 kB / 1.423 GB, free: 4.492 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.955, allocations: 31.66 kB / 1.423 GB, free: 4.453 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.955, allocations: 0 / 1.423 GB, free: 4.453 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.001866/0.9569, allocations: 458.2 kB / 1.423 GB, free: 4.156 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.957, allocations: 59.33 kB / 1.423 GB, free: 4.086 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.9571, allocations: 155.1 kB / 1.424 GB, free: 3.953 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.9571, allocations: 25.7 kB / 1.424 GB, free: 3.922 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.9572, allocations: 116.9 kB / 1.424 GB, free: 3.809 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.9572, allocations: 24.14 kB / 1.424 GB, free: 3.789 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.9573, allocations: 38.77 kB / 1.424 GB, free: 3.754 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9574, allocations: 316.2 kB / 1.424 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.9577, allocations: 75.67 kB / 1.424 GB, free: 3.398 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.958, allocations: 95.95 kB / 1.424 GB, free: 3.328 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.9585, allocations: 184.6 kB / 1.424 GB, free: 3.207 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9585, allocations: 0 / 1.424 GB, free: 3.207 MB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001019/0.9595, allocations: 277.8 kB / 1.425 GB, free: 3.047 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9595, allocations: 10.94 kB / 1.425 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9595, allocations: 0 / 1.425 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/0.9601, allocations: 82.08 kB / 1.425 GB, free: 3.004 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.9603, allocations: 41.55 kB / 1.425 GB, free: 2.984 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.9624, allocations: 1.658 MB / 1.426 GB, free: 1.375 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.9626, allocations: 23.62 kB / 1.426 GB, free: 1.363 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.9626, allocations: 12.02 kB / 1.426 GB, free: 1.355 MB / 1.107 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.0001073/0.9627, allocations: 123 kB / 1.427 GB, free: 1.23 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.9627, allocations: 13.02 kB / 1.427 GB, free: 1.223 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.9638, allocations: 317.9 kB / 1.427 GB, free: 1.031 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9638, allocations: 2.219 kB / 1.427 GB, free: 1.031 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.9638, allocations: 0 / 1.427 GB, free: 1.031 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9638, allocations: 1.094 kB / 1.427 GB, free: 1.031 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.9641, allocations: 245 kB / 1.427 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9641, allocations: 0 / 1.427 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.9643, allocations: 31.95 kB / 1.427 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/0.9648, allocations: 78.97 kB / 1.427 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.9648, allocations: 9.062 kB / 1.427 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.9668, allocations: 1.695 MB / 1.429 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9668, allocations: 0 / 1.429 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.9678, allocations: 376.3 kB / 1.429 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.9679, allocations: 103.6 kB / 1.429 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.9679, allocations: 9.297 kB / 1.429 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.9681, allocations: 19.67 kB / 1.429 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.9682, allocations: 14.7 kB / 1.429 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.9682, allocations: 6.828 kB / 1.429 GB, free: 14.67 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.9683, allocations: 108.9 kB / 1.43 GB, free: 14.59 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.9683, allocations: 0 / 1.43 GB, free: 14.59 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003341/0.9686, allocations: 44.59 kB / 1.43 GB, free: 14.58 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.001442/0.9701, allocations: 0.9296 MB / 1.43 GB, free: 13.77 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008741/0.971, allocations: 302.3 kB / 1.431 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.971, allocations: 0 / 1.431 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.9715, allocations: 227.8 kB / 1.431 GB, free: 13.4 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.9718, allocations: 30.98 kB / 1.431 GB, free: 13.38 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.9756, allocations: 2.053 MB / 1.433 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.9759, allocations: 0.7136 MB / 1.434 GB, free: 10.97 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.976, allocations: 22.11 kB / 1.434 GB, free: 10.96 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.454e-05/0.9761, allocations: 42.44 kB / 1.434 GB, free: 10.92 MB / 1.123 GB Notification: Performance of SimCode: time 3.8e-07/0.9761, allocations: 1.344 kB / 1.434 GB, free: 10.92 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/1.008, allocations: 4.775 MB / 1.438 GB, free: 8.465 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.36, allocations: 4.844 kB / 1.438 GB, free: 8.465 MB / 1.123 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 16.693365317005373]