Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001191/0.001191, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.002932, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001205/0.001205, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002504, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9757/0.9757, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09481/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.36/2.36, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2482/2.608, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.34e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001705/0.001719, allocations: 1.59 MB / 0.8198 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.00229, allocations: 0.5141 MB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.00234, allocations: 0 / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.002384, allocations: 11.92 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.00242, allocations: 19.81 kB / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.002556, allocations: 51.8 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.002692, allocations: 99.78 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.002765, allocations: 12.11 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.002911, allocations: 83.8 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.002967, allocations: 27.95 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.002987, allocations: 8 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.003037, allocations: 19.94 kB / 0.8206 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.003071, allocations: 19.92 kB / 0.8207 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.00311, allocations: 23.94 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.003221, allocations: 59.83 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.003234, allocations: 0 / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003235, allocations: 0 / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.003253, allocations: 0 / 0.8207 GB, free: 384 kB / 0.7917 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.0004307/0.003684, allocations: 365.1 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.003713, allocations: 8.625 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.003831, allocations: 106 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.003958, allocations: 133.6 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.003966, allocations: 4.375 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.003979, allocations: 12.36 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.004119, allocations: 128.6 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.004125, allocations: 192 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004133, allocations: 2.812 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.004137, allocations: 0 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.004185, allocations: 61.59 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.004419, allocations: 194.9 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.004498, allocations: 80.33 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.004538, allocations: 58.67 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.004549, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.004671, allocations: 117 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.004672, allocations: 0 / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001763/0.004848, allocations: 194.7 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.004878, allocations: 55.41 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/0.00494, allocations: 129.5 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.004953, allocations: 29.7 kB / 0.8223 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.004991, allocations: 108 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.005004, allocations: 11.91 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.005044, allocations: 33.69 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.005112, allocations: 326.8 kB / 0.8228 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.005157, allocations: 79.39 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.00522, allocations: 79.39 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.238e-05/0.005292, allocations: 144.7 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005294, allocations: 0 / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001116/0.005405, allocations: 204.5 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.005477, allocations: 63.41 kB / 0.8233 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.00548, allocations: 0 / 0.8233 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.005487, allocations: 4 kB / 0.8233 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.00555, allocations: 19.92 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005553, allocations: 4 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.005613, allocations: 27.92 kB / 0.8234 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.005621, allocations: 0 / 0.8234 GB, free: 13.33 MB / 0.8073 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.079e-05/0.005691, allocations: 158.2 kB / 0.8235 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005704, allocations: 11.98 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.005726, allocations: 12.78 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.005728, allocations: 4 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.00573, allocations: 4 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.005734, allocations: 3.984 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.143e-05/0.005795, allocations: 85.75 kB / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005796, allocations: 0 / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.005822, allocations: 11.98 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.005829, allocations: 3.953 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.005831, allocations: 7.938 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.005838, allocations: 0 / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005839, allocations: 416 / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.00584, allocations: 4 kB / 0.8237 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.005954, allocations: 188.4 kB / 0.8239 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.005969, allocations: 4 kB / 0.8239 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.006011, allocations: 15.98 kB / 0.8239 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.006082, allocations: 35.94 kB / 0.8239 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.006089, allocations: 8 kB / 0.8239 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.006116, allocations: 24.83 kB / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006116, allocations: 0 / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001015/0.006217, allocations: 20 kB / 0.824 GB, free: 12.67 MB / 0.8073 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 6.139e-05/0.006278, allocations: 92.39 kB / 0.8241 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.006501, allocations: 272.7 kB / 0.8243 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.006507, allocations: 4 kB / 0.8243 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.00658, allocations: 125.9 kB / 0.8244 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.903e-05/0.006669, allocations: 27.92 kB / 0.8245 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.007331, allocations: 249.4 kB / 0.8247 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.007358, allocations: 65.78 kB / 0.8248 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.007385, allocations: 4 kB / 0.8248 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.007465, allocations: 79.36 kB / 0.8249 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.007466, allocations: 4 kB / 0.8249 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of Templates: time 0.03905/0.04652, allocations: 2.128 MB / 0.8269 GB, free: 9.531 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.294655562378466]