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.0009794/0.0009794, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001076/0.001076, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8436/0.8436, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.556e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002298/0.002313, allocations: 1.531 MB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.002936, allocations: 495.4 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.002994, allocations: 7.938 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.558e-05/0.003079, allocations: 3.938 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.003122, allocations: 23.78 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.003349, allocations: 39.89 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003478, allocations: 87.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.00357, allocations: 8 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.003724, allocations: 67.81 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.003784, allocations: 23.91 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.003803, allocations: 8 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.641e-05/0.003839, allocations: 15.94 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.003875, allocations: 15.92 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.003917, allocations: 27.91 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.004046, allocations: 79.75 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004048, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004049, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004053, allocations: 4 kB / 1.002 GB, free: 11.09 MB / 0.9636 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.0004723/0.004525, allocations: 379.7 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.004559, allocations: 8.75 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.004587, allocations: 42.73 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.004681, allocations: 16.88 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.004837, allocations: 133.6 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004845, allocations: 384 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.004859, allocations: 12.38 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.005045, allocations: 115.9 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.005053, allocations: 4.188 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005064, allocations: 4.125 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.00507, allocations: 4 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.005222, allocations: 105.6 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.005585, allocations: 291.8 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.00575, allocations: 116.2 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.005838, allocations: 78.64 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.005849, allocations: 0 / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.006014, allocations: 129 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.006015, allocations: 0 / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003577/0.006373, allocations: 278.7 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.006413, allocations: 77.11 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.006496, allocations: 143.4 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.006513, allocations: 25.7 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.006565, allocations: 100 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.006582, allocations: 27.78 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.006621, allocations: 25.7 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.006692, allocations: 322.8 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.006806, allocations: 107.4 kB / 1.004 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.0069, allocations: 107.4 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.007065, allocations: 169.8 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007066, allocations: 0 / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002442/0.00731, allocations: 268.4 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.007339, allocations: 63.41 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007343, allocations: 3.984 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.007359, allocations: 0 / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.007428, allocations: 27.91 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.007434, allocations: 4.062 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.943e-05/0.007493, allocations: 19.94 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.007504, allocations: 4 kB / 1.005 GB, free: 7.605 MB / 0.9636 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 7.276e-05/0.007576, allocations: 151.5 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.007587, allocations: 12.23 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.007609, allocations: 12.78 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00761, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.007614, allocations: 7.938 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007617, allocations: 0 / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.007939, allocations: 428.9 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007941, allocations: 0 / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.007977, allocations: 11.98 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007978, allocations: 4 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.007988, allocations: 4 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007989, allocations: 0 / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00799, allocations: 0 / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.00846, allocations: 294.8 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.008472, allocations: 15.88 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.008487, allocations: 4 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.008555, allocations: 19.98 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.008628, allocations: 23.91 kB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.008638, allocations: 11.88 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.008679, allocations: 101 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.008679, allocations: 0 / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001579/0.008837, allocations: 19.98 kB / 1.006 GB, free: 6.398 MB / 0.9636 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.0004064/0.009244, allocations: 0.829 MB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.009521, allocations: 307.8 kB / 1.007 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009523, allocations: 0 / 1.007 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.009638, allocations: 133.1 kB / 1.007 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.009825, allocations: 11.94 kB / 1.007 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.01121, allocations: 1.971 MB / 1.009 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.574e-05/0.01127, allocations: 75.33 kB / 1.009 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.01131, allocations: 15.98 kB / 1.009 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.01136, allocations: 28.48 kB / 1.009 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.01136, allocations: 0 / 1.009 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.02662, allocations: 3.331 MB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.028, allocations: 12.28 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.135001628659666]