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.00092/0.00092, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009119/0.0009119, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.8861/0.8861, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.971/1.971, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.|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.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.333e-05, allocations: 2.812 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001947/0.001971, allocations: 1.547 MB / 0.8796 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006712/0.002642, allocations: 0.512 MB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.002699, allocations: 0 / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.0028, allocations: 7.875 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.002856, allocations: 23.8 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.003112, allocations: 47.81 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003259, allocations: 100.7 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.00335, allocations: 12.17 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.003578, allocations: 68.94 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.003649, allocations: 39.88 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.003669, allocations: 8 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.281e-05/0.003712, allocations: 9.062 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.003748, allocations: 15.92 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.003796, allocations: 31.92 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.003935, allocations: 80.81 kB / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003938, allocations: 0 / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003939, allocations: 0 / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003943, allocations: 1.062 kB / 0.8806 GB, free: 3.883 MB / 0.8386 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.0004974/0.00444, allocations: 480.3 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.004475, allocations: 8.031 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.0046, allocations: 24.36 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.004763, allocations: 148.4 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.004776, allocations: 4.375 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.00479, allocations: 4.375 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.004985, allocations: 136.6 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004993, allocations: 4.125 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.005006, allocations: 12.12 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005012, allocations: 0 / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.00508, allocations: 70.58 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.005411, allocations: 299.7 kB / 0.8817 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.005532, allocations: 93.34 kB / 0.8818 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.005591, allocations: 78.77 kB / 0.8819 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.005602, allocations: 3.938 kB / 0.8819 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.005743, allocations: 134.7 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.005745, allocations: 1.312 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003022/0.006047, allocations: 262.7 kB / 0.8822 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.006088, allocations: 85.05 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.006175, allocations: 190.4 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.00619, allocations: 29.7 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.006245, allocations: 152.1 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.00626, allocations: 19.84 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.006301, allocations: 31.36 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.006394, allocations: 0.4923 MB / 0.8832 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.006461, allocations: 95.38 kB / 0.8833 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.006518, allocations: 95.38 kB / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.521e-05/0.006614, allocations: 144.8 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006616, allocations: 0 / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000203/0.006819, allocations: 272.3 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.006856, allocations: 67.39 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006861, allocations: 256 / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006872, allocations: 0 / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.006952, allocations: 19.98 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006957, allocations: 4 kB / 0.8839 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.007019, allocations: 23.94 kB / 0.8839 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.00703, allocations: 4 kB / 0.8839 GB, free: 108 kB / 0.8386 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.0001012/0.007132, allocations: 202.1 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.007152, allocations: 19.89 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.007177, allocations: 12.78 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.00718, allocations: 3.984 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.007183, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007187, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.316e-05/0.00727, allocations: 136.6 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007271, allocations: 4 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.007304, allocations: 11.92 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007307, allocations: 0 / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.007317, allocations: 4 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007318, allocations: 0 / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007319, allocations: 0 / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.007528, allocations: 239.8 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.00754, allocations: 15.83 kB / 0.8845 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.00756, allocations: 11.98 kB / 0.8845 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.007608, allocations: 15.98 kB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.007714, allocations: 39.95 kB / 0.8846 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.007725, allocations: 4 kB / 0.8846 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.00778, allocations: 145.8 kB / 0.8847 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00778, allocations: 0 / 0.8847 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001338/0.007914, allocations: 24 kB / 0.8848 GB, free: 15.14 MB / 0.8542 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.874e-05/0.007992, allocations: 99.23 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.008219, allocations: 299.5 kB / 0.8851 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00822, allocations: 0 / 0.8851 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.008318, allocations: 152.7 kB / 0.8853 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.00848, allocations: 15.94 kB / 0.8853 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.009027, allocations: 256.6 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.009059, allocations: 63.34 kB / 0.8856 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.009096, allocations: 11.98 kB / 0.8856 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.009133, allocations: 12.5 kB / 0.8856 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.009134, allocations: 0 / 0.8856 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.003691/0.01282, allocations: 2.21 MB / 0.8878 GB, free: 11.94 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977841936983168]