Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001982/0.001982, 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.002537/0.002537, allocations: 212.2 kB / 22.25 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_12_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.002032/0.002032, allocations: 69.22 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3454, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00312/0.3485, allocations: 1.538 MB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3496, allocations: 498.8 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.3497, allocations: 0 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.822e-05/0.3498, allocations: 11.88 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.3499, allocations: 19.8 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3501, allocations: 43.89 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3503, allocations: 83.77 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3504, allocations: 20.25 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.3506, allocations: 39.86 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.2e-05/0.3507, allocations: 35.83 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.3507, allocations: 8 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.3508, allocations: 15.98 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.3508, allocations: 15.92 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.3509, allocations: 27.91 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3511, allocations: 79.55 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3511, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3511, allocations: 4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3511, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 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.0007657/0.3518, allocations: 377.4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3519, allocations: 11.97 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.3519, allocations: 38.75 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3521, allocations: 16.88 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3524, allocations: 134.4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3524, allocations: 4.375 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3524, allocations: 12.38 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3527, allocations: 127.4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3528, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3528, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3528, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.3531, allocations: 105.6 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.3537, allocations: 295.8 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.354, allocations: 108.2 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3542, allocations: 78.66 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3542, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.3545, allocations: 141 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3545, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006717/0.3552, allocations: 258.6 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3553, allocations: 85.05 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3554, allocations: 139.5 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3554, allocations: 33.69 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.3555, allocations: 92.09 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.3555, allocations: 23.88 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.3556, allocations: 29.72 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3558, allocations: 326.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.356, allocations: 99.36 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3562, allocations: 107.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3565, allocations: 165.9 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3565, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005146/0.357, allocations: 272.3 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.3571, allocations: 67.39 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3571, allocations: 0 / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3571, allocations: 0 / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3572, allocations: 15.98 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3572, allocations: 0 / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3574, allocations: 35.73 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3574, allocations: 4 kB / 1.33 GB, free: 12.43 MB / 1.029 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.000138/0.3575, allocations: 147.5 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.3575, allocations: 11.94 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.3576, allocations: 16.98 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3576, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3576, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3576, allocations: 7.875 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.3582, allocations: 421 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3582, allocations: 4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.3583, allocations: 15.97 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3583, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3583, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3583, allocations: 7.938 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3583, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.3588, allocations: 299.1 kB / 1.331 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.3589, allocations: 11.95 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3589, allocations: 4 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.359, allocations: 23.91 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.3591, allocations: 19.97 kB / 1.331 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3591, allocations: 0 / 1.331 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.969e-05/0.3592, allocations: 105.1 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002462/0.3595, allocations: 20 kB / 1.332 GB, free: 11.22 MB / 1.029 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.000845/0.3603, allocations: 0.8367 MB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.3608, allocations: 299.8 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3608, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.3611, allocations: 133 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3614, allocations: 23.92 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.364, allocations: 1.969 MB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.21e-05/0.3641, allocations: 84.73 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.385e-05/0.3642, allocations: 7.984 kB / 1.335 GB, free: 7.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.3642, allocations: 23.44 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3642, allocations: 4.281 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.3954, allocations: 3.191 MB / 1.338 GB, free: 4.547 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 10.42 kB / 1.338 GB, free: 4.539 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv --start-time 0 --stop-time 600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act1.y from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act2.y in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act2.y from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act3.y in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act3.y from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable reqCou.nInc in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable reqCou.nInc from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.500530385877937]