Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.0008641/0.0008641, allocations: 80.45 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008607/0.0008607, allocations: 169.2 kB / 23.24 MB, free: 1.316 MB / 18.57 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 0.8994/0.8994, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.778/1.778, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_13_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_13_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.803e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004062/0.00408, allocations: 2.174 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.006656, allocations: 1.352 MB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.006857, allocations: 7.938 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.007413, allocations: 171.1 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.007982, allocations: 231 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.008436, allocations: 191.4 kB / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.009027, allocations: 438.7 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.009259, allocations: 65.55 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.009622, allocations: 235.4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.009886, allocations: 167.5 kB / 1.006 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.009945, allocations: 28 kB / 1.006 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.01012, allocations: 71.91 kB / 1.006 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.01027, allocations: 123.6 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.01042, allocations: 99.64 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.01108, allocations: 0.4983 MB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01108, allocations: 0 / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.12e-07/0.01108, allocations: 0 / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.01109, allocations: 0 / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008718/0.01197, allocations: 0.6556 MB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.012, allocations: 9.344 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.01204, allocations: 42.75 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.01211, allocations: 56.59 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.0125, allocations: 363.9 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.01252, allocations: 12.38 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.01254, allocations: 12.38 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.01278, allocations: 210 kB / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.01279, allocations: 0 / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.01281, allocations: 4 kB / 1.008 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.01281, allocations: 4 kB / 1.008 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.01294, allocations: 95.88 kB / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.01367, allocations: 0.7145 MB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.01387, allocations: 133.3 kB / 1.009 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.01394, allocations: 53.69 kB / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.01395, allocations: 0 / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.0142, allocations: 133 kB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/0.0142, allocations: 4 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0003673/0.01457, allocations: 233.7 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.01462, allocations: 110.8 kB / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.01509, allocations: 0.5994 MB / 1.01 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.01512, allocations: 33.81 kB / 1.01 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01523, allocations: 208.3 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.01526, allocations: 43.72 kB / 1.01 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.01533, allocations: 69.67 kB / 1.01 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.01543, allocations: 354.8 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.01556, allocations: 112 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01574, allocations: 248.5 kB / 1.011 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.01594, allocations: 190.4 kB / 1.011 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01595, allocations: 3.938 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003664/0.01631, allocations: 364.2 kB / 1.011 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01632, allocations: 12.09 kB / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01633, allocations: 0 / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.01634, allocations: 4 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01646, allocations: 51.91 kB / 1.011 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01646, allocations: 3.984 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01657, allocations: 39.86 kB / 1.011 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.01659, allocations: 8 kB / 1.011 GB, free: 2.285 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001369/0.01673, allocations: 210.3 kB / 1.012 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.01677, allocations: 43.72 kB / 1.012 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.01702, allocations: 201.1 kB / 1.012 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01703, allocations: 0 / 1.012 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01703, allocations: 4.031 kB / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01704, allocations: 7.984 kB / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01723, allocations: 280.5 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01723, allocations: 0 / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.01726, allocations: 15.98 kB / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01727, allocations: 7.938 kB / 1.012 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01728, allocations: 4 kB / 1.012 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01728, allocations: 4 kB / 1.012 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01728, allocations: 0 / 1.012 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.01751, allocations: 225.6 kB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.01756, allocations: 51.7 kB / 1.012 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01759, allocations: 4 kB / 1.012 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.01765, allocations: 19.98 kB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.01771, allocations: 23.95 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01772, allocations: 4.125 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002792/0.018, allocations: 379.1 kB / 1.013 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.018, allocations: 3.938 kB / 1.013 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002145/0.01821, allocations: 71.88 kB / 1.013 GB, free: 0.6797 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001136/0.01935, allocations: 1.122 MB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.01964, allocations: 199.8 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01964, allocations: 192 / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.01972, allocations: 63.91 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.02002, allocations: 102.9 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.02306, allocations: 3.639 MB / 1.018 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.02319, allocations: 212.4 kB / 1.018 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.882e-05/0.02329, allocations: 70.86 kB / 1.018 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.02343, allocations: 136.4 kB / 1.018 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of SimCode: time 4.8e-07/0.02343, allocations: 0 / 1.018 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08145/0.1049, allocations: 9.705 MB / 1.028 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.14, allocations: 4.062 kB / 1.028 GB, free: 1.594 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu) > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_fmpy.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu) > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.650717330165207]