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.001281/0.001281, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.00131/0.00131, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.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.637/2.637, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 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.001982/0.001982, allocations: 71.89 kB / 1.057 GB, free: 2.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 160.7 MB / 1.214 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002955/0.3918, allocations: 1.493 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.3927, allocations: 475.6 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.3928, allocations: 0 / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.3929, allocations: 3.938 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.3929, allocations: 15.86 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3931, allocations: 35.89 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.3933, allocations: 99.81 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3934, allocations: 12.17 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3936, allocations: 51.78 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.3937, allocations: 39.89 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.3937, allocations: 8 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.3937, allocations: 8 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.3938, allocations: 23.91 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.3938, allocations: 35.8 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.394, allocations: 83.69 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.394, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.394, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.394, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 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.0008264/0.3948, allocations: 458.5 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3949, allocations: 12.03 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.3949, allocations: 12.88 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3952, allocations: 184.3 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3952, allocations: 4.375 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3952, allocations: 12.38 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.3956, allocations: 117.7 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3956, allocations: 0 / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3956, allocations: 11.98 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3956, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.3959, allocations: 91.86 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.3965, allocations: 332.7 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.3969, allocations: 98.52 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.3971, allocations: 72.86 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3971, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.3974, allocations: 123.3 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3974, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007777/0.3982, allocations: 271.2 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.3983, allocations: 89.09 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3984, allocations: 129.8 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3985, allocations: 25.7 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.3985, allocations: 104 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3986, allocations: 15.91 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.3986, allocations: 29.7 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3988, allocations: 326.7 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.399, allocations: 67.95 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.3992, allocations: 67.89 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.3996, allocations: 185.9 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3996, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005356/0.4001, allocations: 257.1 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.4002, allocations: 69.27 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4002, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4002, allocations: 8 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4004, allocations: 15.98 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4004, allocations: 0 / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.4005, allocations: 23.97 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.4005, allocations: 4.094 kB / 1.219 GB, free: 11.2 MB / 0.9669 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.000137/0.4007, allocations: 167.3 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.4007, allocations: 7.953 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.4007, allocations: 16.36 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4007, allocations: 4 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4007, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4007, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.4009, allocations: 201.6 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4009, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.401, allocations: 11.98 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.401, allocations: 3.938 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.401, allocations: 4 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.401, allocations: 0 / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.401, allocations: 0 / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.4016, allocations: 250.7 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.4016, allocations: 81.06 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.4016, allocations: 7.984 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.4018, allocations: 15.98 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.4019, allocations: 39.95 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.4019, allocations: 8 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.402, allocations: 101.8 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.402, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002104/0.4022, allocations: 23.94 kB / 1.22 GB, free: 10.16 MB / 0.9669 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.0001252/0.4024, allocations: 111.2 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.4029, allocations: 254.6 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4029, allocations: 4 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.4032, allocations: 127.4 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.4034, allocations: 15.98 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.404, allocations: 240.9 kB / 1.221 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4044, allocations: 0.6963 MB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.4044, allocations: 15.42 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.4044, allocations: 0 / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of Templates: time 0.003417/0.4078, allocations: 1.456 MB / 1.223 GB, free: 7.152 MB / 0.9669 GB " [Timeout remaining time 300] 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 -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: 10.692581626120955]