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.001382/0.001382, allocations: 84.36 kB / 19.76 MB, free: 2.016 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.001467/0.001467, allocations: 153.5 kB / 23.01 MB, free: 4.969 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|numReq.u.2.|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.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_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.002298/0.002298, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9887/0.991, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002367/0.9933, allocations: 1.504 MB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.9941, allocations: 496.8 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.9942, allocations: 3.938 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.42e-05/0.9943, allocations: 6.469 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.9943, allocations: 11.27 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.9945, allocations: 50.84 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.9947, allocations: 111.3 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.9948, allocations: 12.69 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.9949, allocations: 51.84 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.995, allocations: 43.09 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.9951, allocations: 7.281 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.9951, allocations: 11.56 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.9951, allocations: 18.64 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.9952, allocations: 32.27 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.9953, allocations: 86.05 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.9953, allocations: 1.094 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.203e-06/0.9953, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.9954, allocations: 4 kB / 1.189 GB, free: 14.64 MB / 1.076 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.0005652/0.9959, allocations: 381.6 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.996, allocations: 9.812 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.9961, allocations: 18.38 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.9963, allocations: 133.7 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.9963, allocations: 3.469 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.9963, allocations: 11.3 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.9966, allocations: 154.8 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9966, allocations: 0 / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9966, allocations: 5.812 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.9967, allocations: 2.484 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.997, allocations: 123.2 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.9974, allocations: 259.2 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.9977, allocations: 137.2 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.9979, allocations: 92.17 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.9979, allocations: 1.094 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.9982, allocations: 154.2 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.9982, allocations: 0 / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0006925/0.9989, allocations: 340.3 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.9989, allocations: 87.97 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.999, allocations: 133.4 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.999, allocations: 28.89 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.9991, allocations: 101.6 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.9991, allocations: 16.97 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.9991, allocations: 27.56 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.9992, allocations: 324.5 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.9994, allocations: 130.7 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.9996, allocations: 126.4 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.9999, allocations: 179.5 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9999, allocations: 0 / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004864/1, allocations: 326.7 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1, allocations: 65.58 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1, allocations: 0 / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1, allocations: 6.109 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/1.001, allocations: 13.58 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.001, allocations: 5.125 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/1.001, allocations: 25.45 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/1.001, allocations: 7.625 kB / 1.192 GB, free: 12.07 MB / 1.076 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 8.113e-05/1.001, allocations: 164.3 kB / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/1.001, allocations: 9.312 kB / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/1.001, allocations: 16.72 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.001, allocations: 0.6562 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.001, allocations: 1.094 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.001, allocations: 0.6562 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.481e-05/1.001, allocations: 131.9 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.001, allocations: 3.938 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/1.001, allocations: 13.44 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.001, allocations: 0.7031 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/1.001, allocations: 7.328 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.001, allocations: 0 / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.001, allocations: 2.203 kB / 1.193 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/1.002, allocations: 282 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/1.002, allocations: 6.938 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/1.002, allocations: 4.672 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/1.002, allocations: 22.8 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.002, allocations: 36.39 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/1.002, allocations: 8.656 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.595e-05/1.002, allocations: 101.2 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.002, allocations: 0 / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00021/1.002, allocations: 26.67 kB / 1.193 GB, free: 11.46 MB / 1.076 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.573e-05/1.002, allocations: 101.4 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005092/1.003, allocations: 347.7 kB / 1.193 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.003, allocations: 4 kB / 1.193 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/1.003, allocations: 160.1 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/1.003, allocations: 20.27 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/1.004, allocations: 250 kB / 1.194 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.155e-05/1.004, allocations: 77.98 kB / 1.194 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.825e-05/1.004, allocations: 11.89 kB / 1.194 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/1.004, allocations: 13.5 kB / 1.194 GB, free: 10.71 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.004, allocations: 0 / 1.194 GB, free: 10.71 MB / 1.076 GB Notification: Performance of Templates: time 0.00513/1.009, allocations: 2.048 MB / 1.196 GB, free: 10.47 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.06394659599755]