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.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.0008263/0.0008263, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007718/0.0007718, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.665/1.665, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9517 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.337e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001828/0.001852, allocations: 1.498 MB / 0.9532 GB, free: 404 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000689/0.002541, allocations: 0.4954 MB / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.002602, allocations: 0 / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.0027, allocations: 7.875 kB / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.002748, allocations: 11.88 kB / 0.9537 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.002991, allocations: 51.86 kB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.003138, allocations: 99.7 kB / 0.9538 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003239, allocations: 8.172 kB / 0.9538 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.003412, allocations: 71.81 kB / 0.9539 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.003483, allocations: 31.89 kB / 0.9539 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003505, allocations: 12 kB / 0.9539 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.003547, allocations: 16 kB / 0.9539 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.003586, allocations: 15.92 kB / 0.954 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.003631, allocations: 27.97 kB / 0.954 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.003781, allocations: 95.73 kB / 0.9541 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.003784, allocations: 4 kB / 0.9541 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003784, allocations: 0 / 0.9541 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003788, allocations: 7.938 kB / 0.9541 GB, free: 15.44 MB / 0.8698 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.0005023/0.00429, allocations: 385.3 kB / 0.9544 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.004328, allocations: 12.03 kB / 0.9545 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.004439, allocations: 20.88 kB / 0.9545 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.00461, allocations: 132.9 kB / 0.9546 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.004624, allocations: 12.36 kB / 0.9546 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.004638, allocations: 8.375 kB / 0.9546 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.004847, allocations: 143.9 kB / 0.9548 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004853, allocations: 192 / 0.9548 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.004866, allocations: 4.125 kB / 0.9548 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004871, allocations: 4 kB / 0.9548 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.005041, allocations: 129.5 kB / 0.9549 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.0054, allocations: 248.5 kB / 0.9551 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.005584, allocations: 128.2 kB / 0.9553 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.005694, allocations: 110.6 kB / 0.9554 GB, free: 14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.005706, allocations: 0 / 0.9554 GB, free: 14 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.005895, allocations: 153 kB / 0.9555 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.005897, allocations: 4 kB / 0.9555 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0004188/0.006315, allocations: 330.6 kB / 0.9558 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.006358, allocations: 93.09 kB / 0.9559 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.006443, allocations: 134 kB / 0.956 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.00646, allocations: 29.7 kB / 0.9561 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.00651, allocations: 96.09 kB / 0.9562 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.006526, allocations: 19.89 kB / 0.9562 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.006566, allocations: 25.72 kB / 0.9562 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.006642, allocations: 318.8 kB / 0.9565 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.006762, allocations: 127.3 kB / 0.9566 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.00688, allocations: 127.3 kB / 0.9568 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.007055, allocations: 185.9 kB / 0.9569 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007057, allocations: 96 / 0.9569 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002881/0.007345, allocations: 328.2 kB / 0.9572 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.007381, allocations: 63.41 kB / 0.9573 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007386, allocations: 0 / 0.9573 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.007396, allocations: 0 / 0.9573 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.00746, allocations: 23.97 kB / 0.9573 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007465, allocations: 4.344 kB / 0.9573 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.007536, allocations: 27.88 kB / 0.9574 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.007549, allocations: 8 kB / 0.9574 GB, free: 11.75 MB / 0.8698 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 7.953e-05/0.007628, allocations: 151.5 kB / 0.9575 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.00764, allocations: 15.89 kB / 0.9575 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.007664, allocations: 16.77 kB / 0.9575 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007665, allocations: 0 / 0.9575 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.007669, allocations: 4 kB / 0.9575 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007672, allocations: 0 / 0.9575 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.625e-05/0.007748, allocations: 129.4 kB / 0.9577 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.007749, allocations: 0 / 0.9577 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.007926, allocations: 15.92 kB / 0.9577 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007928, allocations: 3.938 kB / 0.9577 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.007938, allocations: 4 kB / 0.9577 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.00794, allocations: 3.984 kB / 0.9577 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007941, allocations: 0 / 0.9577 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.008207, allocations: 280.4 kB / 0.958 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.008219, allocations: 11.89 kB / 0.958 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.008236, allocations: 4 kB / 0.958 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.008297, allocations: 23.97 kB / 0.958 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.008386, allocations: 35.94 kB / 0.958 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.008394, allocations: 4 kB / 0.958 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.008435, allocations: 103.3 kB / 0.9581 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.008436, allocations: 0 / 0.9581 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001358/0.008571, allocations: 28 kB / 0.9582 GB, free: 10.86 MB / 0.8698 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 7.353e-05/0.008645, allocations: 99.19 kB / 0.9583 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.00896, allocations: 347.8 kB / 0.9586 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008962, allocations: 0 / 0.9586 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.009094, allocations: 157 kB / 0.9587 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.00924, allocations: 23.92 kB / 0.9588 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.009609, allocations: 280.8 kB / 0.959 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.009654, allocations: 71.33 kB / 0.9591 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.009688, allocations: 12.5 kB / 0.9591 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.009688, allocations: 4 kB / 0.9591 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.002087/0.01178, allocations: 1.495 MB / 0.9606 GB, free: 8.266 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.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: 6.601215838454664]