Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007396/0.007396, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 192.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002962/0.002962, allocations: 67.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.011, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.004047/1.015, allocations: 1.485 MB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001138/1.016, allocations: 458.9 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/1.016, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/1.016, allocations: 15.92 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/1.016, allocations: 15.86 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/1.016, allocations: 35.89 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/1.017, allocations: 103.8 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/1.017, allocations: 16.17 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/1.017, allocations: 47.84 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/1.017, allocations: 39.83 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/1.017, allocations: 8 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/1.017, allocations: 8 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/1.017, allocations: 15.92 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/1.017, allocations: 43.83 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/1.018, allocations: 74.45 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.018, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.174e-06/1.018, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.221e-06/1.018, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001055/1.019, allocations: 467.5 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.019, allocations: 12.03 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/1.019, allocations: 30.75 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/1.019, allocations: 12.89 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/1.019, allocations: 196.2 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/1.019, allocations: 12.38 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/1.019, allocations: 4.375 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/1.02, allocations: 125.5 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.02, allocations: 3.938 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.02, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/1.02, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/1.02, allocations: 91.86 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/1.021, allocations: 336.7 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/1.022, allocations: 102.5 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/1.022, allocations: 68.94 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/1.022, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/1.023, allocations: 131.3 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/1.023, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001131/1.024, allocations: 271.2 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/1.024, allocations: 93.16 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/1.024, allocations: 128.7 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/1.024, allocations: 33.7 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/1.024, allocations: 96.08 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/1.024, allocations: 19.84 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.025, allocations: 29.7 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.025, allocations: 326.8 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/1.025, allocations: 63.89 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/1.025, allocations: 71.95 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/1.026, allocations: 177.9 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.026, allocations: 0 / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008366/1.027, allocations: 264.9 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/1.027, allocations: 59.41 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.027, allocations: 4 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.027, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/1.027, allocations: 23.97 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/1.027, allocations: 96 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/1.027, allocations: 19.92 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.028, allocations: 7.938 kB / 1.226 GB, free: 12.16 MB / 0.9512 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001764/1.028, allocations: 155.5 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/1.028, allocations: 11.95 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/1.028, allocations: 8.375 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.028, allocations: 4 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.028, allocations: 3.984 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.028, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/1.028, allocations: 201.4 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.028, allocations: 256 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/1.028, allocations: 19.92 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/1.028, allocations: 0 / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.028, allocations: 8 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.028, allocations: 4 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.028, allocations: 0 / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/1.029, allocations: 246.6 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/1.029, allocations: 81.05 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/1.029, allocations: 7.984 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/1.03, allocations: 23.97 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.03, allocations: 39.95 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/1.03, allocations: 0 / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001014/1.03, allocations: 103.2 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.03, allocations: 0 / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003895/1.03, allocations: 31.95 kB / 1.226 GB, free: 11.12 MB / 0.9512 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.001218/1.032, allocations: 0.7747 MB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008036/1.032, allocations: 270.6 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.032, allocations: 0 / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004053/1.033, allocations: 143.3 kB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.033, allocations: 15.98 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/1.037, allocations: 1.762 MB / 1.229 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/1.037, allocations: 0.6924 MB / 1.23 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.859e-05/1.037, allocations: 7.984 kB / 1.23 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/1.038, allocations: 23.44 kB / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.038, allocations: 0 / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08013/1.118, allocations: 3.032 MB / 1.233 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.42, allocations: 11.78 kB / 1.233 GB, free: 4.316 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches