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.001747/0.001747, allocations: 117.8 kB / 17.13 MB, free: 6.004 MB / 14.72 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.002125/0.002125, allocations: 213.8 kB / 20.1 MB, free: 3.055 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.89/2.89, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 1.15 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002556/1.154, allocations: 1.496 MB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008762/1.155, allocations: 0.5384 MB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/1.155, allocations: 0 / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/1.155, allocations: 7.125 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/1.155, allocations: 10.84 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/1.155, allocations: 53.45 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/1.155, allocations: 96.67 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/1.155, allocations: 13.09 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/1.156, allocations: 63.34 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/1.156, allocations: 40.23 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/1.156, allocations: 8.75 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/1.156, allocations: 15.34 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/1.156, allocations: 10.27 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/1.156, allocations: 38.22 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/1.156, allocations: 88.75 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.156, allocations: 0 / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/1.156, allocations: 0 / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.156, allocations: 0 / 1.324 GB, free: 23.4 MB / 1.061 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.0007015/1.157, allocations: 462.6 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.157, allocations: 14.86 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/1.157, allocations: 22.58 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/1.157, allocations: 202.4 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/1.157, allocations: 2.938 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/1.157, allocations: 12.34 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/1.158, allocations: 119.5 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.158, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.158, allocations: 4 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.158, allocations: 6.906 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/1.158, allocations: 86.39 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/1.158, allocations: 332 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/1.159, allocations: 97.92 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.159, allocations: 61.03 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/1.159, allocations: 3.328 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/1.159, allocations: 125.3 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/1.159, allocations: 0 / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0007088/1.16, allocations: 282.6 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/1.16, allocations: 82.33 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/1.16, allocations: 133.2 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.16, allocations: 36.3 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/1.16, allocations: 94.59 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.16, allocations: 20.92 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/1.16, allocations: 35.88 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.16, allocations: 321.4 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/1.161, allocations: 61.81 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/1.161, allocations: 71.95 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/1.161, allocations: 184.7 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.161, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005369/1.162, allocations: 260.8 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/1.162, allocations: 67.11 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.162, allocations: 0 / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.162, allocations: 4.75 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/1.162, allocations: 17.09 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.162, allocations: 0.5938 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/1.162, allocations: 24.28 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/1.162, allocations: 7.422 kB / 1.327 GB, free: 21.02 MB / 1.061 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.0001141/1.162, allocations: 161.7 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/1.162, allocations: 13.83 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/1.162, allocations: 14.14 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/1.162, allocations: 1.031 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.162, allocations: 0 / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.162, allocations: 0.6875 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/1.162, allocations: 197.7 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.162, allocations: 0 / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/1.162, allocations: 15.14 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/1.162, allocations: 0.5625 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.162, allocations: 5.703 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.162, allocations: 4.906 kB / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.162, allocations: 0 / 1.328 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/1.163, allocations: 248.8 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/1.163, allocations: 82.97 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/1.163, allocations: 10.44 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.163, allocations: 27.08 kB / 1.328 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.163, allocations: 32.58 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.163, allocations: 6.125 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.093e-05/1.163, allocations: 101.8 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.163, allocations: 0 / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002278/1.164, allocations: 29.72 kB / 1.328 GB, free: 20.27 MB / 1.061 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.0001224/1.164, allocations: 98.09 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005574/1.164, allocations: 262.7 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.164, allocations: 0 / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/1.165, allocations: 130 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/1.165, allocations: 11.5 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/1.165, allocations: 256.7 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/1.166, allocations: 0.7 MB / 1.33 GB, free: 19.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/1.166, allocations: 11.22 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.166, allocations: 0 / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of Templates: time 0.004441/1.17, allocations: 1.478 MB / 1.331 GB, free: 18.9 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.84144760199706]