Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 192.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 1.061 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.7502, allocations: 160.7 MB / 1.218 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003121/0.7533, allocations: 1.507 MB / 1.22 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7543, allocations: 471.7 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.7544, allocations: 0 / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.7545, allocations: 5.125 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.7546, allocations: 17.08 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.7548, allocations: 34.83 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.755, allocations: 99.16 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.7551, allocations: 8.812 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.7553, allocations: 62.66 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.7554, allocations: 38.86 kB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.7554, allocations: 11.94 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.7554, allocations: 8.719 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.7555, allocations: 14.58 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.7555, allocations: 39.64 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.7557, allocations: 87.77 kB / 1.221 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7557, allocations: 0 / 1.221 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7557, allocations: 0 / 1.221 GB, free: 2.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7557, allocations: 0 / 1.221 GB, free: 2.191 MB / 0.92 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.0008061/0.7565, allocations: 457.6 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7566, allocations: 10.12 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.7566, allocations: 10.05 kB / 1.221 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.7569, allocations: 189 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.7569, allocations: 3.625 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.7569, allocations: 10.69 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.7572, allocations: 115.4 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7572, allocations: 0 / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.7573, allocations: 6.219 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7573, allocations: 5.125 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.7576, allocations: 90.27 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.7582, allocations: 332.2 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.7585, allocations: 97.64 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.7587, allocations: 62.75 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.7587, allocations: 1.188 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.7591, allocations: 127.6 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.7591, allocations: 0 / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0007802/0.7599, allocations: 289.1 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.76, allocations: 84.88 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7601, allocations: 129.1 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.7601, allocations: 28.98 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.7602, allocations: 98.58 kB / 1.223 GB, free: 364 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.7602, allocations: 23.97 kB / 1.223 GB, free: 344 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.7603, allocations: 34.27 kB / 1.223 GB, free: 316 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7605, allocations: 320.4 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.7607, allocations: 65.17 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.7609, allocations: 71.11 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.7613, allocations: 187.4 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7613, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005437/0.7618, allocations: 261.7 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.7619, allocations: 59.31 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7619, allocations: 1.281 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.7619, allocations: 0 / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.762, allocations: 17.94 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.762, allocations: 5.125 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.7622, allocations: 24.55 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.7622, allocations: 4.406 kB / 1.224 GB, free: 15.52 MB / 0.9356 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.0001455/0.7624, allocations: 158 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.7624, allocations: 9.359 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.7624, allocations: 13.45 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7624, allocations: 1.094 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7625, allocations: 5.094 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.7625, allocations: 0 / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.7626, allocations: 193.1 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7627, allocations: 0 / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.7627, allocations: 12.02 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.7627, allocations: 4.688 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.7628, allocations: 6.531 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7628, allocations: 0 / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7628, allocations: 1.125 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.7633, allocations: 248.7 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.7634, allocations: 83.25 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.7634, allocations: 3.656 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.7635, allocations: 28.31 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.7637, allocations: 38.23 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.7637, allocations: 2.594 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.7638, allocations: 107.9 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7638, allocations: 1.094 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002439/0.764, allocations: 28.97 kB / 1.224 GB, free: 14.7 MB / 0.9356 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.0001297/0.7642, allocations: 101.8 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.7648, allocations: 255.3 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7648, allocations: 4 kB / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.765, allocations: 130 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.7653, allocations: 15.55 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.7659, allocations: 225.2 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.7663, allocations: 0.6897 MB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.335e-05/0.7664, allocations: 13.45 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.7664, allocations: 15.78 kB / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.7664, allocations: 0 / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.00527/0.7717, allocations: 1.924 MB / 1.228 GB, free: 12.45 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.070885612629354]