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.001344/0.001344, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001527/0.001527, allocations: 220.4 kB / 22.25 MB, free: 5.102 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.427/1.427, 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 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.073/3.073, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.002015/0.002015, allocations: 75.06 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.307, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002727/0.3097, allocations: 1.531 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.3106, allocations: 494.8 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.3107, allocations: 7.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.053e-05/0.3108, allocations: 11.88 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3108, allocations: 11.86 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.311, allocations: 47.88 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3112, allocations: 83.72 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.3113, allocations: 12.27 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3115, allocations: 55.83 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.3115, allocations: 35.84 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3116, allocations: 8 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.085e-05/0.3116, allocations: 8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.3117, allocations: 15.92 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.3117, allocations: 31.84 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3119, allocations: 79.66 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3119, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3119, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3119, allocations: 0 / 1.328 GB, free: 15.06 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.0006819/0.3126, allocations: 381.4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3126, allocations: 8.031 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.3127, allocations: 42.73 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3128, allocations: 16.88 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.313, allocations: 138.3 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.313, allocations: 4.375 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.313, allocations: 8.375 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.3133, allocations: 123.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3133, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3134, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3134, allocations: 4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.3137, allocations: 101.6 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.3142, allocations: 287.8 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3145, allocations: 112.2 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.3147, allocations: 78.67 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3147, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.315, allocations: 137 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.315, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006566/0.3157, allocations: 270.6 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.3157, allocations: 85.09 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3159, allocations: 139.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3159, allocations: 29.7 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.3159, allocations: 96.09 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.316, allocations: 15.89 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.316, allocations: 29.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3162, allocations: 322.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3164, allocations: 107.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3166, allocations: 107.4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.3169, allocations: 161.9 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3169, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004863/0.3174, allocations: 276.3 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.3175, allocations: 59.41 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3175, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3175, allocations: 4 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3176, allocations: 19.91 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3176, allocations: 3.938 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3177, allocations: 27.81 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3177, allocations: 4 kB / 1.331 GB, free: 11.58 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.000152/0.3179, allocations: 155.5 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.3179, allocations: 8.234 kB / 1.331 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.318, allocations: 8.719 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.318, allocations: 4 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.318, allocations: 3.938 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.318, allocations: 3.938 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.3186, allocations: 421 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3186, allocations: 0 / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-05/0.3187, allocations: 19.92 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3187, allocations: 3.984 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3187, allocations: 8 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3187, allocations: 3.938 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3187, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.3192, allocations: 295.2 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.3192, allocations: 11.94 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3192, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3194, allocations: 19.92 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.3195, allocations: 23.97 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3195, allocations: 4 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001247/0.3196, allocations: 105.1 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3196, allocations: 0 / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002398/0.3198, allocations: 16 kB / 1.332 GB, free: 10.37 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.0008246/0.3207, allocations: 0.8407 MB / 1.333 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.3212, allocations: 303.8 kB / 1.333 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3212, allocations: 0 / 1.333 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.3214, allocations: 141 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3217, allocations: 8.688 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.3243, allocations: 1.975 MB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.426e-05/0.3244, allocations: 79.33 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.644e-05/0.3245, allocations: 15.98 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.3245, allocations: 23.7 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3245, allocations: 0 / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.3552, allocations: 3.22 MB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.43, allocations: 4.406 kB / 1.339 GB, free: 3.664 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.029512590001104]