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.001193/0.001193, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001461/0.001461, allocations: 218.8 kB / 23.02 MB, free: 2.953 MB / 13.93 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.9852/0.9852, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.951/1.951, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001013/0.001013, allocations: 71.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8053, allocations: 180 MB / 1.352 GB, free: 1.695 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003259/0.8086, allocations: 2.162 MB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.8109, allocations: 1.349 MB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.8111, allocations: 7.938 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.8116, allocations: 175.3 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.8121, allocations: 223 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.8124, allocations: 191.5 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.8129, allocations: 434.7 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.813, allocations: 67.55 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.8132, allocations: 179.2 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.8134, allocations: 191.2 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.8135, allocations: 28 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.8136, allocations: 75.91 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.8138, allocations: 115.7 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.8139, allocations: 131.1 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.8144, allocations: 0.5095 MB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.8144, allocations: 0 / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8144, allocations: 0 / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8145, allocations: 0 / 1.358 GB, free: 11.87 MB / 1.042 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.001046/0.8155, allocations: 0.6689 MB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.8156, allocations: 8.922 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.8156, allocations: 46.73 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.8157, allocations: 44.66 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.8162, allocations: 352.8 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.8162, allocations: 20.06 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.8163, allocations: 15.98 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.8166, allocations: 206.9 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8166, allocations: 0 / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.8166, allocations: 8 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.8166, allocations: 4 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.8168, allocations: 99.88 kB / 1.36 GB, free: 10.33 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.8177, allocations: 0.7183 MB / 1.36 GB, free: 9.559 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.818, allocations: 137.4 kB / 1.36 GB, free: 9.406 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.8181, allocations: 53.69 kB / 1.36 GB, free: 9.348 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.8181, allocations: 8 kB / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.8183, allocations: 129 kB / 1.361 GB, free: 9.195 MB / 1.042 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.8183, allocations: 3.938 kB / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of matching and sorting (n=12): time 0.0004547/0.8188, allocations: 225.3 kB / 1.361 GB, free: 8.965 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.8188, allocations: 114.7 kB / 1.361 GB, free: 8.828 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.8194, allocations: 0.5994 MB / 1.361 GB, free: 8.219 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.8194, allocations: 37.7 kB / 1.361 GB, free: 8.176 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.8196, allocations: 204.4 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.8196, allocations: 35.73 kB / 1.362 GB, free: 7.938 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8197, allocations: 73.67 kB / 1.362 GB, free: 7.859 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8199, allocations: 358.7 kB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.8201, allocations: 108 kB / 1.362 GB, free: 7.395 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.8204, allocations: 248.5 kB / 1.362 GB, free: 7.113 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.8206, allocations: 195 kB / 1.363 GB, free: 6.91 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8206, allocations: 0 / 1.363 GB, free: 6.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004673/0.8211, allocations: 359.4 kB / 1.363 GB, free: 6.555 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8211, allocations: 4 kB / 1.363 GB, free: 6.551 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.8211, allocations: 4 kB / 1.363 GB, free: 6.547 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8211, allocations: 0 / 1.363 GB, free: 6.547 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.8213, allocations: 55.91 kB / 1.363 GB, free: 6.492 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.8213, allocations: 0 / 1.363 GB, free: 6.492 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.8215, allocations: 47.91 kB / 1.363 GB, free: 6.445 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.8215, allocations: 8 kB / 1.363 GB, free: 6.438 MB / 1.042 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.0001867/0.8217, allocations: 204 kB / 1.363 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.8218, allocations: 43.72 kB / 1.363 GB, free: 6.188 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.8221, allocations: 209.1 kB / 1.364 GB, free: 5.973 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8221, allocations: 3.938 kB / 1.364 GB, free: 5.969 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8221, allocations: 0 / 1.364 GB, free: 5.969 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.8221, allocations: 7.984 kB / 1.364 GB, free: 5.961 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.8224, allocations: 285 kB / 1.364 GB, free: 5.641 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8224, allocations: 0 / 1.364 GB, free: 5.641 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.8224, allocations: 16.03 kB / 1.364 GB, free: 5.625 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.8224, allocations: 11.98 kB / 1.364 GB, free: 5.613 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.8225, allocations: 0 / 1.364 GB, free: 5.613 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.8225, allocations: 3.938 kB / 1.364 GB, free: 5.609 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8225, allocations: 4 kB / 1.364 GB, free: 5.605 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.8228, allocations: 231.1 kB / 1.364 GB, free: 5.359 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.8228, allocations: 51.7 kB / 1.364 GB, free: 5.309 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.8229, allocations: 8 kB / 1.364 GB, free: 5.301 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.823, allocations: 15.98 kB / 1.364 GB, free: 5.285 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.823, allocations: 23.95 kB / 1.364 GB, free: 5.262 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.823, allocations: 4 kB / 1.364 GB, free: 5.258 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003477/0.8234, allocations: 375.1 kB / 1.365 GB, free: 4.895 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8234, allocations: 0 / 1.365 GB, free: 4.895 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003321/0.8237, allocations: 75.81 kB / 1.365 GB, free: 4.82 MB / 1.042 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.001453/0.8252, allocations: 1.12 MB / 1.366 GB, free: 3.855 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.8256, allocations: 195.8 kB / 1.366 GB, free: 3.664 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8256, allocations: 0 / 1.366 GB, free: 3.664 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8257, allocations: 63.89 kB / 1.366 GB, free: 3.602 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.8261, allocations: 106.3 kB / 1.366 GB, free: 3.512 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.8301, allocations: 3.635 MB / 1.37 GB, free: 15.75 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.8303, allocations: 208.5 kB / 1.37 GB, free: 15.54 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.8305, allocations: 59.23 kB / 1.37 GB, free: 15.48 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.8306, allocations: 135.4 kB / 1.37 GB, free: 15.34 MB / 1.057 GB Notification: Performance of SimCode: time 1.303e-06/0.8306, allocations: 0 / 1.37 GB, free: 15.34 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09868/0.9293, allocations: 9.604 MB / 1.379 GB, free: 5.859 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/8.068, allocations: 10.06 kB / 1.379 GB, free: 5.852 MB / 1.057 GB " [Timeout remaining time 292] (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: 12.966977977193892]