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.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.00236/0.00236, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002757/0.002757, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.503/1.503, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 496 MB / 0.7835 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002002/0.002002, allocations: 72.52 kB / 1.138 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003117/0.3767, allocations: 1.518 MB / 1.309 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.3776, allocations: 466.9 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.3776, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3778, allocations: 3.938 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.3778, allocations: 19.86 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.378, allocations: 43.88 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.3782, allocations: 99.77 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3783, allocations: 12.11 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3785, allocations: 51.84 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.3786, allocations: 43.83 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.3786, allocations: 8 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.067e-05/0.3786, allocations: 8 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.3787, allocations: 11.98 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.3787, allocations: 43.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3789, allocations: 83.69 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3789, allocations: 3.938 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3789, allocations: 0 / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3789, allocations: 0 / 1.31 GB, free: 15.41 MB / 1.014 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.0007513/0.3797, allocations: 369.5 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3797, allocations: 8.922 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.3798, allocations: 16.88 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.38, allocations: 134.4 kB / 1.31 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.38, allocations: 8.375 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.38, allocations: 12.36 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.3803, allocations: 117.7 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3804, allocations: 0 / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3804, allocations: 0 / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3804, allocations: 0 / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.3807, allocations: 95.86 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.3813, allocations: 299.8 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.3817, allocations: 98.5 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.3819, allocations: 64.94 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3819, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.3823, allocations: 127.3 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3823, allocations: 3.938 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0007909/0.383, allocations: 275.2 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3831, allocations: 85.11 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3832, allocations: 133.8 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3833, allocations: 29.7 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.3833, allocations: 100.1 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3834, allocations: 15.91 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.3834, allocations: 25.7 kB / 1.312 GB, free: 13.24 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3836, allocations: 326.8 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3838, allocations: 72.12 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.384, allocations: 63.95 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.3843, allocations: 189.9 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3844, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005472/0.3849, allocations: 264.9 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.385, allocations: 63.41 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.385, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.385, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3851, allocations: 11.98 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3851, allocations: 7.984 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3853, allocations: 27.88 kB / 1.312 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3853, allocations: 8 kB / 1.312 GB, free: 12.16 MB / 1.014 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.0001441/0.3855, allocations: 168.1 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.3855, allocations: 4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.3855, allocations: 8.375 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3855, allocations: 4 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3855, allocations: 0 / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3855, allocations: 3.984 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3857, allocations: 168.7 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3857, allocations: 0 / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3858, allocations: 23.91 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3858, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3858, allocations: 4 kB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3858, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3858, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.3864, allocations: 254.6 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.3864, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3864, allocations: 7.938 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.3866, allocations: 19.97 kB / 1.313 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3867, allocations: 39.95 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3867, allocations: 3.938 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.158e-05/0.3868, allocations: 100.5 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3868, allocations: 4 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002179/0.387, allocations: 27.89 kB / 1.313 GB, free: 11.25 MB / 1.014 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.0001132/0.3871, allocations: 107.2 kB / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005607/0.3877, allocations: 258.8 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3877, allocations: 0 / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.388, allocations: 135.3 kB / 1.314 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3882, allocations: 21.23 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.3888, allocations: 215.3 kB / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3891, allocations: 0.6924 MB / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.3891, allocations: 15.72 kB / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.3892, allocations: 19.44 kB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.3892, allocations: 0 / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of Templates: time 0.00515/0.3943, allocations: 1.932 MB / 1.317 GB, free: 7.789 MB / 1.014 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=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/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: 9.005228753201663]