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.001266/0.001266, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001418/0.001418, allocations: 216 kB / 22.26 MB, free: 5.113 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.996 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.205/3.205, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.001968/0.001968, allocations: 68.53 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00278/0.3262, allocations: 1.564 MB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.3272, allocations: 0.526 MB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.3272, allocations: 7.875 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.559e-05/0.3273, allocations: 3.938 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.3274, allocations: 7.875 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3277, allocations: 47.88 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3278, allocations: 91.77 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.328, allocations: 12.27 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3281, allocations: 51.78 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.3282, allocations: 35.83 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.3282, allocations: 8 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.3283, allocations: 8 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.3283, allocations: 15.98 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.3284, allocations: 39.78 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3286, allocations: 75.61 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3286, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3286, allocations: 4 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3286, allocations: 0 / 1.355 GB, free: 5.969 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.0006993/0.3293, allocations: 385.4 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3293, allocations: 8.031 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.3293, allocations: 38.75 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.3295, allocations: 16.88 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3297, allocations: 142.3 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3297, allocations: 8.375 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3297, allocations: 4.375 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.33, allocations: 97.75 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.33, allocations: 0 / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.33, allocations: 4 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.33, allocations: 0 / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.3303, allocations: 75.88 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.3309, allocations: 307.7 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3312, allocations: 82.55 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3313, allocations: 48.95 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3313, allocations: 3.938 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.3316, allocations: 111.3 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.3316, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006145/0.3322, allocations: 211.2 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.3323, allocations: 85.11 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3324, allocations: 131.9 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3324, allocations: 25.7 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.3325, allocations: 104 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3325, allocations: 15.91 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3326, allocations: 25.7 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3327, allocations: 330.8 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3329, allocations: 47.91 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.333, allocations: 51.95 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.3333, allocations: 161.8 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3333, allocations: 0 / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000432/0.3338, allocations: 217 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.3338, allocations: 59.39 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3338, allocations: 4 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3338, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.334, allocations: 15.92 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.334, allocations: 4.281 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3341, allocations: 23.81 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3341, allocations: 15.98 kB / 1.358 GB, free: 2.902 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.0001205/0.3342, allocations: 151.4 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3343, allocations: 7.953 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.3343, allocations: 16.69 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3343, allocations: 4 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3343, allocations: 0 / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3343, allocations: 3.938 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.3349, allocations: 407.2 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3349, allocations: 0 / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.335, allocations: 15.98 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.335, allocations: 0 / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.335, allocations: 4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.335, allocations: 3.938 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.335, allocations: 0 / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.3354, allocations: 270.1 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.3354, allocations: 11.94 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3355, allocations: 8 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3356, allocations: 15.92 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.3357, allocations: 19.97 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.3357, allocations: 3.938 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.3358, allocations: 113.4 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3358, allocations: 0 / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002397/0.336, allocations: 20 kB / 1.359 GB, free: 1.758 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.0007528/0.3368, allocations: 0.8014 MB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3372, allocations: 214.7 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3372, allocations: 3.938 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3374, allocations: 115.3 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3377, allocations: 13.06 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.34, allocations: 1.716 MB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3403, allocations: 0.6924 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.105e-05/0.3404, allocations: 15.92 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.3404, allocations: 27.42 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3404, allocations: 0 / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3698, allocations: 2.727 MB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.35, allocations: 9.406 kB / 1.365 GB, free: 11.38 MB / 1.061 GB " [Timeout remaining time 289] (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.0906500279998]