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.001427/0.001427, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 192 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 67.03 kB / 0.9086 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.239, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002441/0.2415, allocations: 1.484 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.2421, allocations: 460.8 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.2422, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.77e-05/0.2423, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.2423, allocations: 19.86 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.2425, allocations: 39.94 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.2426, allocations: 99.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.2427, allocations: 16.19 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2428, allocations: 51.83 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.2429, allocations: 43.81 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.243, allocations: 8 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.243, allocations: 8 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.243, allocations: 11.94 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.2431, allocations: 39.84 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2432, allocations: 84.03 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2432, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2432, allocations: 0 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.2432, allocations: 4 kB / 1.066 GB, free: 11.83 MB / 0.8262 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.0006317/0.2439, allocations: 446.6 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2439, allocations: 12.03 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.2439, allocations: 38.75 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.244, allocations: 8.844 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2442, allocations: 193.4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2442, allocations: 8.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2442, allocations: 4.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.2445, allocations: 125.5 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2445, allocations: 7.875 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2445, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2445, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.2448, allocations: 83.92 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2453, allocations: 340.6 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.2456, allocations: 106.5 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.2458, allocations: 72.94 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.2458, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.2461, allocations: 123.3 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2461, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006574/0.2468, allocations: 271.1 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.2469, allocations: 93.09 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.247, allocations: 123.2 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.247, allocations: 33.7 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.2471, allocations: 96.03 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.2471, allocations: 19.75 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2471, allocations: 33.7 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2473, allocations: 322.8 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.2475, allocations: 67.95 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.2476, allocations: 63.95 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.248, allocations: 185.8 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.248, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004835/0.2485, allocations: 260.9 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.2485, allocations: 59.5 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2485, allocations: 3.938 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.2486, allocations: 0 / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2487, allocations: 27.91 kB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2487, allocations: 4.141 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2488, allocations: 15.98 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2489, allocations: 7.938 kB / 1.069 GB, free: 8.328 MB / 0.8262 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.0001156/0.249, allocations: 159.5 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.249, allocations: 7.906 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.249, allocations: 16.36 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.249, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.249, allocations: 256 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2491, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2492, allocations: 205.5 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2492, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.2493, allocations: 11.98 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2493, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.2493, allocations: 8 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2493, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2493, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.2498, allocations: 250.5 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.2499, allocations: 84.95 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2499, allocations: 8 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.25, allocations: 19.97 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.2501, allocations: 39.95 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2501, allocations: 7.984 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.2502, allocations: 105.3 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2502, allocations: 0 / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001945/0.2504, allocations: 24 kB / 1.07 GB, free: 7.289 MB / 0.8262 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.0007399/0.2512, allocations: 0.7819 MB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.2516, allocations: 266.7 kB / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2517, allocations: 4 kB / 1.071 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2519, allocations: 139.3 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2521, allocations: 21.48 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.2543, allocations: 1.75 MB / 1.073 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2545, allocations: 0.6905 MB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.969e-05/0.2546, allocations: 15.98 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2546, allocations: 19.44 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2546, allocations: 0 / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.622/1.877, allocations: 2.993 MB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.87, allocations: 10.05 kB / 1.077 GB, free: 0.5039 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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