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.001816/0.001816, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002211/0.002211, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.793 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.338/3.338, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002025/0.002025, allocations: 64.88 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003548/0.3617, allocations: 1.537 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3628, allocations: 495.8 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.3629, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.363, allocations: 11.92 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.363, allocations: 15.86 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3633, allocations: 47.83 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3635, allocations: 79.77 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3636, allocations: 16.25 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3638, allocations: 47.8 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.3639, allocations: 35.83 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.364, allocations: 8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.364, allocations: 12 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.364, allocations: 15.97 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.3641, allocations: 31.8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3643, allocations: 79.66 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3643, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3643, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3643, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 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.0007388/0.365, allocations: 381.4 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3651, allocations: 16.03 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.3651, allocations: 34.75 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3653, allocations: 20.88 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3655, allocations: 132.9 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3656, allocations: 4.375 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3656, allocations: 8.375 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.3659, allocations: 127.4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3659, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3659, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3659, allocations: 3.984 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.3662, allocations: 105.6 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.3669, allocations: 295.7 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.3672, allocations: 108.2 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3675, allocations: 86.59 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3675, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.3678, allocations: 133 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3678, allocations: 0 / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007075/0.3685, allocations: 266.7 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3686, allocations: 81.11 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3687, allocations: 132.5 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3687, allocations: 37.64 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.3688, allocations: 99.98 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3688, allocations: 23.84 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3689, allocations: 29.7 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3691, allocations: 326.8 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.3693, allocations: 99.36 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3695, allocations: 107.4 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.3699, allocations: 169.8 kB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3699, allocations: 0 / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005328/0.3704, allocations: 268.3 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.3705, allocations: 67.39 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3705, allocations: 4 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3705, allocations: 0 / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3706, allocations: 15.98 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3706, allocations: 0 / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3708, allocations: 23.84 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3708, allocations: 4 kB / 1.369 GB, free: 8.148 MB / 1.061 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.0002173/0.371, allocations: 148.6 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.371, allocations: 7.953 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3711, allocations: 20.7 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3711, allocations: 0 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3711, allocations: 288 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3711, allocations: 3.938 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.3718, allocations: 417 kB / 1.369 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3718, allocations: 3.938 kB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.3719, allocations: 15.98 kB / 1.369 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3719, allocations: 3.984 kB / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3719, allocations: 4 kB / 1.369 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3719, allocations: 3.938 kB / 1.369 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3719, allocations: 3.938 kB / 1.369 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.3724, allocations: 306.7 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3724, allocations: 7.953 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.3725, allocations: 4 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3726, allocations: 19.91 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3727, allocations: 23.97 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3727, allocations: 8 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.3728, allocations: 105 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3728, allocations: 0 / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002878/0.3731, allocations: 20 kB / 1.37 GB, free: 6.934 MB / 1.061 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.0009342/0.374, allocations: 0.825 MB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005606/0.3746, allocations: 303.8 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3746, allocations: 0 / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.3748, allocations: 141.5 kB / 1.371 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3751, allocations: 15.92 kB / 1.371 GB, free: 5.559 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3779, allocations: 1.963 MB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.378, allocations: 79.31 kB / 1.373 GB, free: 3.352 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.3781, allocations: 15.98 kB / 1.373 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.3782, allocations: 27.42 kB / 1.373 GB, free: 3.309 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3782, allocations: 0 / 1.373 GB, free: 3.309 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.4142, allocations: 3.187 MB / 1.376 GB, free: 284 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.89, allocations: 12.62 kB / 1.376 GB, free: 272 kB / 1.061 GB " [Timeout remaining time 288] (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: 18.87048224778846]