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.001406/0.001406, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001402/0.001402, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.26 MB / 0.6075 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.00189/0.00189, allocations: 67.83 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.734, allocations: 168.7 MB / 1.271 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00204/0.7361, allocations: 1.545 MB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005705/0.7367, allocations: 455.8 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.7367, allocations: 0.8125 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.85e-05/0.7368, allocations: 10.45 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.7368, allocations: 10.83 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.737, allocations: 34.61 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.7371, allocations: 88.67 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.7372, allocations: 11.33 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.7373, allocations: 41.88 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.7374, allocations: 40.02 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.7374, allocations: 6.281 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.7374, allocations: 6.219 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.7374, allocations: 18.42 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.7375, allocations: 28.5 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.7376, allocations: 82.28 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7376, allocations: 0 / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7376, allocations: 0 / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.7376, allocations: 0.7188 kB / 1.274 GB, free: 6.129 MB / 0.9981 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.0005186/0.7381, allocations: 453.1 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.7382, allocations: 9.406 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.451e-05/0.7382, allocations: 41.16 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.7382, allocations: 14.59 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.7383, allocations: 183.8 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.7383, allocations: 7.188 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.7383, allocations: 6.719 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.7386, allocations: 97.16 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7386, allocations: 0 / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7386, allocations: 5.312 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.7386, allocations: 4.875 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.7389, allocations: 72.22 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.7393, allocations: 338.5 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.7395, allocations: 84.33 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.7397, allocations: 47.31 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.7397, allocations: 1.031 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.7399, allocations: 106 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.7399, allocations: 0 / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005324/0.7404, allocations: 212.9 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.7405, allocations: 83.67 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.7405, allocations: 138 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7406, allocations: 27.98 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.7406, allocations: 96.28 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.7406, allocations: 24.95 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.7406, allocations: 28.3 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.7407, allocations: 322.4 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.7408, allocations: 44.95 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.741, allocations: 57.47 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.7412, allocations: 165 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7412, allocations: 2 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000372/0.7416, allocations: 205.8 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.7416, allocations: 64.22 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7416, allocations: 7.938 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.7417, allocations: 0.9688 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7418, allocations: 15.75 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.7418, allocations: 0.8438 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.7419, allocations: 25.88 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.7419, allocations: 9.031 kB / 1.277 GB, free: 3.77 MB / 0.9981 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 6.435e-05/0.742, allocations: 144.1 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.742, allocations: 14.39 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.742, allocations: 12.03 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.742, allocations: 0.7812 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.742, allocations: 0 / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.742, allocations: 8.703 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.7424, allocations: 424.8 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7425, allocations: 0.6875 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/0.7425, allocations: 20.62 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7425, allocations: 0.6562 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.7425, allocations: 1.031 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7425, allocations: 4.719 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7425, allocations: 4.875 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.7429, allocations: 268.6 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.7429, allocations: 91.78 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.7429, allocations: 1.719 kB / 1.278 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.7431, allocations: 26.88 kB / 1.278 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.7432, allocations: 18.55 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.7432, allocations: 3.844 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.7432, allocations: 101.3 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7432, allocations: 0 / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002196/0.7434, allocations: 23.78 kB / 1.278 GB, free: 2.816 MB / 0.9981 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.0004997/0.7439, allocations: 0.7989 MB / 1.278 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.7443, allocations: 228.9 kB / 1.279 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7443, allocations: 0 / 1.279 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.7445, allocations: 103.3 kB / 1.279 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.7447, allocations: 18.22 kB / 1.279 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.7467, allocations: 1.726 MB / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.7469, allocations: 0.6886 MB / 1.281 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.747, allocations: 12.05 kB / 1.281 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.747, allocations: 24.7 kB / 1.281 GB, free: 15.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.747, allocations: 4 kB / 1.281 GB, free: 15.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.7707, allocations: 2.52 MB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.967, allocations: 7.234 kB / 1.284 GB, free: 15.31 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act1.y from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act2.y in file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act2.y from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable act3.y in file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable act3.y from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! Error: Could not read variable reqCou.nInc in file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv. Warning: Get data of variable reqCou.nInc from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.392616495999391]