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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001594/0.001594, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.855/2.855, allocations: 377.8 MB / 0.6232 GB, free: 8.5 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.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.1e-05, allocations: 4.406 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003193/0.003224, allocations: 1.5 MB / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004389, allocations: 0.4939 MB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.004469, allocations: 4 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.004581, allocations: 7.922 kB / 0.8127 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.004651, allocations: 17.2 kB / 0.8127 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.004989, allocations: 43.88 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.005246, allocations: 107.7 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.005358, allocations: 13.77 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.005626, allocations: 67.77 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.005749, allocations: 39.88 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.005782, allocations: 8 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.005851, allocations: 9.844 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.005906, allocations: 15.92 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.005989, allocations: 27.97 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.00625, allocations: 103.7 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.006254, allocations: 0 / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006255, allocations: 0.75 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.006261, allocations: 0 / 0.8132 GB, free: 15.67 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.0009403/0.007201, allocations: 378.7 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.007246, allocations: 12.5 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.007484, allocations: 26.19 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.007821, allocations: 133.7 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.007839, allocations: 8.312 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.00786, allocations: 4.906 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.008255, allocations: 145.2 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.008267, allocations: 4.172 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.008293, allocations: 12.12 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.008297, allocations: 1.156 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.008663, allocations: 118.9 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.009305, allocations: 264.5 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.009696, allocations: 129.4 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.009939, allocations: 104.5 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.009956, allocations: 4 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.01032, allocations: 149.9 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01032, allocations: 0 / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0009324/0.01125, allocations: 349.1 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.01134, allocations: 89.09 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.01151, allocations: 135.9 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.01155, allocations: 29.7 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01165, allocations: 93.84 kB / 0.8152 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.01168, allocations: 19.89 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.01175, allocations: 25.72 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.01195, allocations: 322.8 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.01223, allocations: 125.9 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.01248, allocations: 123.4 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.01291, allocations: 185.8 kB / 0.816 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01291, allocations: 0.5 kB / 0.816 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006767/0.01359, allocations: 326.8 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.01367, allocations: 67.39 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01367, allocations: 0 / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01369, allocations: 0 / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01383, allocations: 21.08 kB / 0.8164 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01383, allocations: 160 / 0.8164 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.014, allocations: 28.69 kB / 0.8164 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.01402, allocations: 18.98 kB / 0.8165 GB, free: 11.98 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.0001629/0.01418, allocations: 155.5 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.01423, allocations: 15.89 kB / 0.8166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.01426, allocations: 12.78 kB / 0.8166 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01426, allocations: 0 / 0.8166 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.01427, allocations: 3.984 kB / 0.8166 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01427, allocations: 0 / 0.8166 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.0147, allocations: 131.8 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0147, allocations: 0 / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.0148, allocations: 15.92 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0148, allocations: 0 / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.01482, allocations: 8 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01482, allocations: 0 / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01482, allocations: 0 / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.01544, allocations: 282.4 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.01548, allocations: 15.89 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.01551, allocations: 4 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.01566, allocations: 21.09 kB / 0.8171 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.01582, allocations: 37.02 kB / 0.8171 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01583, allocations: 4 kB / 0.8171 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.688e-05/0.01593, allocations: 105.8 kB / 0.8172 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01593, allocations: 1.031 kB / 0.8172 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002312/0.01616, allocations: 20 kB / 0.8173 GB, free: 11.1 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.000144/0.01631, allocations: 100.9 kB / 0.8173 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006933/0.017, allocations: 347.7 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.017, allocations: 0.5 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.01733, allocations: 162.5 kB / 0.8178 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.01759, allocations: 18.48 kB / 0.8179 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.01822, allocations: 259.8 kB / 0.8181 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.01831, allocations: 79.19 kB / 0.8182 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.005e-05/0.01838, allocations: 9.516 kB / 0.8182 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.01843, allocations: 17.16 kB / 0.8182 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.01844, allocations: 0 / 0.8182 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.005526/0.02396, allocations: 2.05 MB / 0.8202 GB, free: 8 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=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: 7.847190004074946]