Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 102.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 476.7 MB / 0.7611 GB, free: 11.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.91 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7233, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002969/0.7263, allocations: 1.529 MB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.7272, allocations: 456.5 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.7273, allocations: 0 / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.7274, allocations: 7.875 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.7275, allocations: 19.84 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.7277, allocations: 31.97 kB / 1.271 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.7279, allocations: 83.7 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.728, allocations: 16.17 kB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.7281, allocations: 39.84 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.7282, allocations: 43.83 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.7283, allocations: 8 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.7283, allocations: 4 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.7283, allocations: 11.94 kB / 1.271 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.7284, allocations: 35.84 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.7285, allocations: 77.47 kB / 1.271 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7285, allocations: 4 kB / 1.271 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7285, allocations: 0 / 1.271 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7285, allocations: 0 / 1.271 GB, free: 2.785 MB / 0.9669 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.0007438/0.7293, allocations: 450.5 kB / 1.271 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7293, allocations: 8.031 kB / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.7294, allocations: 34.75 kB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.7294, allocations: 12.89 kB / 1.272 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.7296, allocations: 192.2 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.7296, allocations: 4.359 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.7297, allocations: 4.375 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.73, allocations: 97.58 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.73, allocations: 4 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.73, allocations: 0 / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.73, allocations: 0 / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.7303, allocations: 83.8 kB / 1.272 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.7309, allocations: 336.6 kB / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.7312, allocations: 82.55 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.7314, allocations: 48.95 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.7314, allocations: 0 / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.7317, allocations: 107.3 kB / 1.272 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.7317, allocations: 0 / 1.272 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006404/0.7324, allocations: 211.2 kB / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.7324, allocations: 81.09 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.7326, allocations: 130.1 kB / 1.273 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.7326, allocations: 33.69 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.7326, allocations: 96.09 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.7327, allocations: 19.84 kB / 1.273 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.7327, allocations: 25.7 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7329, allocations: 326.8 kB / 1.273 GB, free: 196 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.733, allocations: 43.97 kB / 1.273 GB, free: 152 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.7332, allocations: 55.95 kB / 1.273 GB, free: 96 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.7335, allocations: 173.8 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7335, allocations: 0 / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004376/0.734, allocations: 201 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.734, allocations: 65.7 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.734, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.734, allocations: 4 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.7342, allocations: 23.86 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7342, allocations: 0 / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.7343, allocations: 35.8 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.7343, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 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.0001281/0.7345, allocations: 145.6 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.7345, allocations: 7.953 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.7345, allocations: 20.7 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7345, allocations: 0 / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7345, allocations: 0 / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7345, allocations: 3.938 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.7352, allocations: 440.4 kB / 1.274 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7352, allocations: 0 / 1.274 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.7353, allocations: 11.98 kB / 1.274 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7353, allocations: 4 kB / 1.274 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.7353, allocations: 4 kB / 1.274 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7353, allocations: 3.938 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7353, allocations: 0 / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.7357, allocations: 265.1 kB / 1.275 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.7358, allocations: 81.06 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.7358, allocations: 15.98 kB / 1.275 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.736, allocations: 15.92 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7361, allocations: 27.89 kB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.7361, allocations: 8 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.7362, allocations: 97.09 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7362, allocations: 0 / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002413/0.7364, allocations: 27.88 kB / 1.275 GB, free: 14.27 MB / 0.9825 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.000784/0.7372, allocations: 0.8 MB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.7376, allocations: 214.7 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7376, allocations: 4 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.7379, allocations: 111.4 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.7382, allocations: 15.92 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.7406, allocations: 1.721 MB / 1.278 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.7409, allocations: 0.6949 MB / 1.278 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.123e-05/0.741, allocations: 7.984 kB / 1.278 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.7411, allocations: 23.42 kB / 1.279 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.7411, allocations: 4 kB / 1.279 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.7666, allocations: 2.548 MB / 1.281 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.823, allocations: 13.89 kB / 1.281 GB, free: 8.094 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.719117656815797]