Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.001723/0.001723, allocations: 104 kB / 16.45 MB, free: 6.449 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.002055/0.002055, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.597/1.597, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.337/3.337, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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.002028/0.002028, allocations: 64.62 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3885, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00302/0.3916, allocations: 1.554 MB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3926, allocations: 0.5104 MB / 1.35 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.3927, allocations: 3.938 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.978e-05/0.3928, allocations: 3.938 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.3928, allocations: 15.86 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3931, allocations: 51.81 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3933, allocations: 79.77 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3934, allocations: 16 kB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.3936, allocations: 55.77 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.3937, allocations: 31.89 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3937, allocations: 11.94 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.008e-05/0.3938, allocations: 8 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.3938, allocations: 12 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.3939, allocations: 43.77 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3941, allocations: 75.94 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3941, allocations: 0 / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3941, allocations: 3.938 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3941, allocations: 0 / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007607/0.3948, allocations: 450.5 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3949, allocations: 15.98 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.3949, allocations: 38.73 kB / 1.351 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.3951, allocations: 16.89 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.3953, allocations: 196.1 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3953, allocations: 4.375 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3954, allocations: 8.375 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3957, allocations: 101.7 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3957, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3957, allocations: 4 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3957, allocations: 0 / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.396, allocations: 79.8 kB / 1.351 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.3966, allocations: 336.7 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.3969, allocations: 82.55 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.3971, allocations: 52.94 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3971, allocations: 4 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.3974, allocations: 103.3 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3974, allocations: 0 / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006701/0.3981, allocations: 207.2 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3981, allocations: 89.09 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3983, allocations: 133.8 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3983, allocations: 29.7 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.3984, allocations: 96 kB / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3984, allocations: 19.89 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.3985, allocations: 25.72 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3986, allocations: 326.8 kB / 1.352 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3988, allocations: 47.95 kB / 1.353 GB, free: 4.836 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3989, allocations: 47.95 kB / 1.353 GB, free: 4.789 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.3993, allocations: 169.8 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3993, allocations: 3.938 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004568/0.3998, allocations: 209 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.3998, allocations: 65.88 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3998, allocations: 0 / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3998, allocations: 0 / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4, allocations: 27.84 kB / 1.353 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.4, allocations: 0 / 1.353 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.4001, allocations: 27.81 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4001, allocations: 0 / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001253/0.4002, allocations: 155.5 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.4003, allocations: 7.953 kB / 1.353 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.4003, allocations: 12.72 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4003, allocations: 0 / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4003, allocations: 0 / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4003, allocations: 7.938 kB / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.4009, allocations: 432.1 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4009, allocations: 7.984 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.401, allocations: 11.98 kB / 1.354 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.401, allocations: 0 / 1.354 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.401, allocations: 4 kB / 1.354 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.401, allocations: 3.938 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.401, allocations: 0 / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.4015, allocations: 273.7 kB / 1.354 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.4016, allocations: 81.06 kB / 1.354 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.4016, allocations: 4 kB / 1.354 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.4017, allocations: 19.91 kB / 1.354 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4018, allocations: 23.97 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4019, allocations: 7.938 kB / 1.354 GB, free: 3.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.4019, allocations: 99.27 kB / 1.354 GB, free: 2.996 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4019, allocations: 4 kB / 1.354 GB, free: 2.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000239/0.4022, allocations: 20 kB / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0008106/0.403, allocations: 0.8004 MB / 1.355 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.4035, allocations: 222.7 kB / 1.355 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4035, allocations: 0 / 1.355 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.4037, allocations: 107.3 kB / 1.355 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.404, allocations: 21.98 kB / 1.355 GB, free: 1.762 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4064, allocations: 1.723 MB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4067, allocations: 0.6963 MB / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.874e-05/0.4068, allocations: 15.97 kB / 1.358 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.4069, allocations: 26.05 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.4069, allocations: 0 / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.4354, allocations: 2.607 MB / 1.36 GB, free: 12.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.711, allocations: 3.938 kB / 1.36 GB, free: 12.72 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv --start-time 0 --stop-time 600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable act1.y in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act1.y from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act2.y in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act2.y from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act3.y in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act3.y from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable reqCou.nInc in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable reqCou.nInc from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.953049139119685]