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.001585/0.001585, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001763/0.001763, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.789 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.234/3.234, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002089/0.002089, allocations: 75.58 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002902/0.3834, allocations: 1.535 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.3844, allocations: 490.8 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.3845, allocations: 7.938 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.711e-05/0.3846, allocations: 7.938 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.3846, allocations: 15.86 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.3849, allocations: 43.88 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3851, allocations: 87.72 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3852, allocations: 12.27 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.3854, allocations: 51.83 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.3855, allocations: 27.84 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.3855, allocations: 8 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.562e-05/0.3855, allocations: 8 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.3856, allocations: 23.92 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.3856, allocations: 31.84 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3858, allocations: 79.59 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3858, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3858, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.3858, allocations: 0 / 1.327 GB, free: 15.99 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.0007142/0.3865, allocations: 377.4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3866, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.3866, allocations: 38.73 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3868, allocations: 24.88 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.387, allocations: 138.3 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.387, allocations: 8.359 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.387, allocations: 4.375 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.3874, allocations: 123.5 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3874, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3874, allocations: 4 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3874, allocations: 0 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.3877, allocations: 105.6 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.3883, allocations: 287.8 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.3886, allocations: 112.2 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.3888, allocations: 86.58 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3889, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.3892, allocations: 133 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3892, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006806/0.3898, allocations: 270.6 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.3899, allocations: 77.11 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.39, allocations: 143.5 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3901, allocations: 25.7 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.3901, allocations: 96.09 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3902, allocations: 19.89 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.3902, allocations: 25.7 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3904, allocations: 322.8 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3906, allocations: 107.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3908, allocations: 107.4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.3911, allocations: 173.8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3911, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000507/0.3917, allocations: 268.4 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.3917, allocations: 55.41 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3917, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3917, allocations: 4 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3919, allocations: 28.19 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3919, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.392, allocations: 31.81 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.392, allocations: 7.938 kB / 1.331 GB, free: 12.5 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.0001369/0.3921, allocations: 147.5 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3922, allocations: 7.953 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3922, allocations: 12.72 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3922, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3922, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3922, allocations: 3.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/0.3929, allocations: 425.2 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3929, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.3929, allocations: 11.98 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3929, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.393, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.393, allocations: 3.938 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.393, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.3935, allocations: 302.9 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.3935, allocations: 7.938 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3935, allocations: 4 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3937, allocations: 19.92 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3938, allocations: 23.91 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3938, allocations: 4 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.095e-05/0.3939, allocations: 104.7 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3939, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002411/0.3941, allocations: 16 kB / 1.332 GB, free: 11.29 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.0008689/0.395, allocations: 0.829 MB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005425/0.3955, allocations: 303.8 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3955, allocations: 7.938 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.3958, allocations: 137.1 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.3961, allocations: 17.48 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.3988, allocations: 1.978 MB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.707e-05/0.3989, allocations: 79.27 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.3989, allocations: 11.98 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.399, allocations: 27.42 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.399, allocations: 4 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.4299, allocations: 3.177 MB / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.8, allocations: 4.062 kB / 1.338 GB, free: 4.617 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.44353872584179]