Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001489/0.001489, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001691/0.001691, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.992 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.003/3.003, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",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.00187/0.00187, allocations: 67.98 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2925, allocations: 180.2 MB / 1.353 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05599/0.3485, allocations: 55.8 MB / 1.407 GB, free: 400 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.3638, allocations: 10.51 MB / 1.418 GB, free: 5.859 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.3655, allocations: 95.12 kB / 1.418 GB, free: 5.766 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.3678, allocations: 0.9163 MB / 1.419 GB, free: 4.844 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.3729, allocations: 2.085 MB / 1.421 GB, free: 2.75 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004896/0.3778, allocations: 2.076 MB / 1.423 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.3832, allocations: 3.827 MB / 1.426 GB, free: 12.83 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.3851, allocations: 0.9903 MB / 1.427 GB, free: 11.81 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.389, allocations: 1.984 MB / 1.429 GB, free: 9.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.3913, allocations: 1.272 MB / 1.431 GB, free: 8.539 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.3916, allocations: 104 kB / 1.431 GB, free: 8.438 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.3949, allocations: 1.376 MB / 1.432 GB, free: 7.059 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.3954, allocations: 406.2 kB / 1.432 GB, free: 6.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.3969, allocations: 0.8547 MB / 1.433 GB, free: 5.801 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.4014, allocations: 2.475 MB / 1.436 GB, free: 3.316 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4014, allocations: 0 / 1.436 GB, free: 3.316 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4014, allocations: 0 / 1.436 GB, free: 3.316 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.174e-05/0.4014, allocations: 0 / 1.436 GB, free: 3.316 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004006/0.4054, allocations: 2.141 MB / 1.438 GB, free: 1.125 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4055, allocations: 8.031 kB / 1.438 GB, free: 1.117 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.4057, allocations: 160.8 kB / 1.438 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.4092, allocations: 0.6621 MB / 1.439 GB, free: 292 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.4114, allocations: 1.097 MB / 1.44 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.4115, allocations: 90.08 kB / 1.44 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4117, allocations: 104 kB / 1.44 GB, free: 14.95 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.4147, allocations: 1.504 MB / 1.441 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.4147, allocations: 7.875 kB / 1.441 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.4148, allocations: 48 kB / 1.441 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.4148, allocations: 28 kB / 1.441 GB, free: 13.21 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.4182, allocations: 1.225 MB / 1.443 GB, free: 11.98 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009516/0.4277, allocations: 8.32 MB / 1.451 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.4309, allocations: 1.064 MB / 1.452 GB, free: 1.984 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.4324, allocations: 0.5275 MB / 1.452 GB, free: 1.457 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000983/0.4334, allocations: 290.3 kB / 1.453 GB, free: 1.176 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.4351, allocations: 0.6761 MB / 1.453 GB, free: 496 kB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.716e-06/0.4351, allocations: 0 / 1.453 GB, free: 496 kB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.005201/0.4403, allocations: 1.795 MB / 1.455 GB, free: 14.68 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.4404, allocations: 68.39 kB / 1.455 GB, free: 14.61 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.4426, allocations: 1.518 MB / 1.456 GB, free: 13.08 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.584e-05/0.4427, allocations: 49.64 kB / 1.457 GB, free: 13.03 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007055/0.4434, allocations: 0.8078 MB / 1.457 GB, free: 12.21 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.4437, allocations: 305.4 kB / 1.458 GB, free: 11.91 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.444, allocations: 222.8 kB / 1.458 GB, free: 11.69 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4442, allocations: 353.9 kB / 1.458 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.4457, allocations: 0.5178 MB / 1.459 GB, free: 10.82 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.4475, allocations: 0.9032 MB / 1.46 GB, free: 9.754 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.4509, allocations: 1.414 MB / 1.461 GB, free: 8.188 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.451, allocations: 4 kB / 1.461 GB, free: 8.184 MB / 1.154 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004396/0.4554, allocations: 1.609 MB / 1.463 GB, free: 6.566 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4554, allocations: 12 kB / 1.463 GB, free: 6.555 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.4554, allocations: 12 kB / 1.463 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.4554, allocations: 20 kB / 1.463 GB, free: 6.523 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4568, allocations: 343.5 kB / 1.463 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-05/0.4568, allocations: 23.88 kB / 1.463 GB, free: 6.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4583, allocations: 242.8 kB / 1.463 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4585, allocations: 67.97 kB / 1.463 GB, free: 5.859 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006274/0.4591, allocations: 347.3 kB / 1.464 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.4595, allocations: 178.9 kB / 1.464 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/0.4645, allocations: 2.151 MB / 1.466 GB, free: 3.172 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.4645, allocations: 19.98 kB / 1.466 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4645, allocations: 0 / 1.466 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.4645, allocations: 11.91 kB / 1.466 GB, free: 3.141 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/0.4713, allocations: 3.352 MB / 1.469 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.4713, allocations: 0 / 1.469 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.4724, allocations: 235.8 kB / 1.469 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.4724, allocations: 8 kB / 1.469 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/0.4725, allocations: 35.97 kB / 1.469 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.4725, allocations: 7.938 kB / 1.469 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4725, allocations: 4 kB / 1.469 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006209/0.4787, allocations: 2.78 MB / 1.472 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/0.4794, allocations: 330.3 kB / 1.472 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.4797, allocations: 27.98 kB / 1.472 GB, free: 12.26 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.4809, allocations: 115.9 kB / 1.473 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.481, allocations: 84.84 kB / 1.473 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.4811, allocations: 51.95 kB / 1.473 GB, free: 12.01 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001521/0.4827, allocations: 1.023 MB / 1.474 GB, free: 11 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4827, allocations: 0 / 1.474 GB, free: 11 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001573/0.4842, allocations: 0.5457 MB / 1.474 GB, free: 10.45 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008631/0.4929, allocations: 4.054 MB / 1.478 GB, free: 6.512 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.4966, allocations: 1.434 MB / 1.48 GB, free: 5.082 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4966, allocations: 4.188 kB / 1.48 GB, free: 5.078 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.4984, allocations: 0.7674 MB / 1.48 GB, free: 4.309 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.5015, allocations: 0.736 MB / 1.481 GB, free: 3.586 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/0.5249, allocations: 12.71 MB / 1.493 GB, free: 6.328 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009995/0.5259, allocations: 1.317 MB / 1.495 GB, free: 4.984 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001232/0.5271, allocations: 373 kB / 1.495 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009636/0.5281, allocations: 0.7218 MB / 1.496 GB, free: 3.891 MB / 1.186 GB Notification: Performance of SimCode: time 7.51e-07/0.5281, allocations: 4 kB / 1.496 GB, free: 3.887 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09731/0.6254, allocations: 49.06 MB / 1.544 GB, free: 3.336 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.87, allocations: 10.19 kB / 1.544 GB, free: 3.332 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.22853669989854]