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.001373/0.001373, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001615/0.001615, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.201/3.201, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002472/0.002472, allocations: 65 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.336, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00287/0.3389, allocations: 1.541 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.34, allocations: 491.9 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.3401, allocations: 7.938 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.673e-05/0.3402, allocations: 7.922 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.3403, allocations: 7.875 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3405, allocations: 47.88 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3407, allocations: 87.7 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.3408, allocations: 8.281 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.341, allocations: 51.83 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3411, allocations: 31.84 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.3411, allocations: 12 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.3412, allocations: 11.98 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.3412, allocations: 11.94 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.3413, allocations: 31.84 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3415, allocations: 75.66 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3415, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3415, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.3416, allocations: 3.938 kB / 1.366 GB, free: 11.68 MB / 1.061 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.0007936/0.3423, allocations: 385.4 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3424, allocations: 12.03 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.3424, allocations: 38.75 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.3426, allocations: 16.88 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.3429, allocations: 136.8 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3429, allocations: 384 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3429, allocations: 16.36 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.3432, allocations: 119.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3432, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3432, allocations: 7.984 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3433, allocations: 8 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.3436, allocations: 101.5 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.3442, allocations: 291.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3445, allocations: 112.2 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3447, allocations: 78.64 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3447, allocations: 4 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.3451, allocations: 133 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3451, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007/0.3458, allocations: 270.6 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.3458, allocations: 77.11 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.346, allocations: 135.2 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.346, allocations: 29.7 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.3461, allocations: 99.98 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3461, allocations: 19.86 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.3461, allocations: 29.7 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3463, allocations: 326.8 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.3465, allocations: 103.4 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3467, allocations: 103.4 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.3471, allocations: 169.8 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3471, allocations: 0 / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000512/0.3476, allocations: 272.5 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.3477, allocations: 65.89 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3477, allocations: 8.094 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3477, allocations: 7.938 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3478, allocations: 15.92 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3478, allocations: 0 / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.348, allocations: 23.86 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.348, allocations: 7.984 kB / 1.369 GB, free: 8.184 MB / 1.061 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.0001414/0.3481, allocations: 147.5 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.3481, allocations: 7.953 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.3482, allocations: 12.7 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3482, allocations: 8 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3482, allocations: 0 / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3482, allocations: 3.938 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.3489, allocations: 421 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3489, allocations: 0 / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.3489, allocations: 11.98 kB / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.349, allocations: 0 / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.349, allocations: 11.98 kB / 1.369 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.349, allocations: 3.938 kB / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.349, allocations: 0 / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.3495, allocations: 298.8 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.3495, allocations: 11.95 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3495, allocations: 4 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.3497, allocations: 15.92 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3498, allocations: 19.97 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3498, allocations: 19.92 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.3499, allocations: 95.27 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3499, allocations: 0 / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002495/0.3501, allocations: 20 kB / 1.37 GB, free: 6.98 MB / 1.061 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.0009227/0.3511, allocations: 0.8294 MB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.3516, allocations: 307.8 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3516, allocations: 0 / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.3519, allocations: 129.1 kB / 1.371 GB, free: 5.625 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3522, allocations: 19.92 kB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.355, allocations: 1.974 MB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.3551, allocations: 75.33 kB / 1.373 GB, free: 3.391 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.311e-05/0.3551, allocations: 15.97 kB / 1.373 GB, free: 3.375 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.3552, allocations: 31.42 kB / 1.373 GB, free: 3.344 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3552, allocations: 0 / 1.373 GB, free: 3.344 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.396, allocations: 3.177 MB / 1.376 GB, free: 336 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.77, allocations: 12.53 kB / 1.376 GB, free: 328 kB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.338703203946352]