Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001899/0.001899, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002039/0.002039, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.635/1.635, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.039/3.039, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.02e-05, allocations: 7 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003232/0.003262, allocations: 1.503 MB / 0.8122 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.004408, allocations: 0.5126 MB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.004472, allocations: 3.938 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.651e-05/0.004569, allocations: 4.594 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.004651, allocations: 16.73 kB / 0.8128 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.004924, allocations: 47.81 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.005137, allocations: 105 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.005224, allocations: 8.188 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.005442, allocations: 71.72 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.005535, allocations: 37.36 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.005567, allocations: 8 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.049e-05/0.005628, allocations: 12 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.005676, allocations: 19.97 kB / 0.8131 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.005739, allocations: 29.45 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005936, allocations: 95.73 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005939, allocations: 0 / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00594, allocations: 0 / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005944, allocations: 1.344 kB / 0.8132 GB, free: 15.71 MB / 0.7761 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.0007869/0.006731, allocations: 479.4 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.006764, allocations: 8.594 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.006929, allocations: 22.05 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.007161, allocations: 144.5 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.007179, allocations: 8.359 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.007201, allocations: 9.031 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.007531, allocations: 141.3 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.007541, allocations: 4.125 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.007562, allocations: 8.125 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.007566, allocations: 0 / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.007845, allocations: 106.3 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.00841, allocations: 316.7 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.008748, allocations: 133.4 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.008946, allocations: 102.1 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.008965, allocations: 0 / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.009283, allocations: 155.9 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.009284, allocations: 4 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0007776/0.01006, allocations: 324.4 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.01014, allocations: 85.09 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.01032, allocations: 197.9 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.01036, allocations: 33.7 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01047, allocations: 146.3 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.0105, allocations: 19.89 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.01057, allocations: 31.38 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002713/0.01085, allocations: 0.4962 MB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.01107, allocations: 119.4 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01128, allocations: 111.4 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.01161, allocations: 180.8 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01161, allocations: 0.7812 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005588/0.01217, allocations: 320.8 kB / 0.8167 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.01224, allocations: 59.41 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01224, allocations: 0.5625 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01225, allocations: 0.5625 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01238, allocations: 13.3 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.01238, allocations: 8.094 kB / 0.8168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01252, allocations: 23.92 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.01253, allocations: 0.625 kB / 0.8168 GB, free: 11.62 MB / 0.7761 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.0001733/0.01271, allocations: 202.9 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.01274, allocations: 17.89 kB / 0.817 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.01278, allocations: 12.78 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01278, allocations: 3.984 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.01278, allocations: 0 / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01279, allocations: 0 / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.01294, allocations: 144.5 kB / 0.8172 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01295, allocations: 0.5312 kB / 0.8172 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.01302, allocations: 12.75 kB / 0.8172 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01302, allocations: 0 / 0.8172 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.01304, allocations: 9.172 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.01305, allocations: 7.984 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01305, allocations: 0 / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.01359, allocations: 285 kB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01362, allocations: 7.891 kB / 0.8175 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.01365, allocations: 8.953 kB / 0.8175 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.01377, allocations: 15.98 kB / 0.8175 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.01391, allocations: 42.27 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.01392, allocations: 4 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001124/0.01403, allocations: 149.3 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01403, allocations: 0 / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002164/0.01425, allocations: 20 kB / 0.8177 GB, free: 10.62 MB / 0.7761 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.0001298/0.01438, allocations: 111.1 kB / 0.8178 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.01498, allocations: 351.5 kB / 0.8182 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01498, allocations: 0 / 0.8182 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.01528, allocations: 168.8 kB / 0.8183 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.0155, allocations: 22.03 kB / 0.8184 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.01609, allocations: 256.4 kB / 0.8186 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.01642, allocations: 84.06 kB / 0.8187 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.233e-05/0.01647, allocations: 10.11 kB / 0.8187 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.01653, allocations: 16.5 kB / 0.8187 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01653, allocations: 0 / 0.8187 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of Templates: time 0.005922/0.02245, allocations: 2.065 MB / 0.8207 GB, free: 7.48 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.193414923967794]