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.0008505/0.0008505, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008734/0.0008734, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8868/0.8868, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.763/1.763, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.184e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001716/0.001738, allocations: 1.486 MB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.002349, allocations: 0.4917 MB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.002404, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.653e-05/0.00249, allocations: 7.922 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.002535, allocations: 11.81 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.00276, allocations: 59.8 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.002893, allocations: 95.77 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.002987, allocations: 16.16 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.003144, allocations: 67.83 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.003207, allocations: 35.88 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.003228, allocations: 8 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.003265, allocations: 16 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.003305, allocations: 15.92 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.00335, allocations: 27.92 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.00349, allocations: 99.73 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003492, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003493, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003497, allocations: 4 kB / 1.003 GB, free: 10.58 MB / 0.9636 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.0004887/0.003986, allocations: 377.4 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.004019, allocations: 13.34 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.004123, allocations: 16.88 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.004304, allocations: 136.2 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004318, allocations: 8.375 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.004335, allocations: 12.3 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.004557, allocations: 147.9 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.004566, allocations: 4.188 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.004579, allocations: 8.125 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004584, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.004749, allocations: 121.6 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.005094, allocations: 260.4 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.00528, allocations: 136.1 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.005382, allocations: 98.58 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.005393, allocations: 0 / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.005584, allocations: 157 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.005585, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004275/0.006012, allocations: 342.5 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.006053, allocations: 89.09 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.006133, allocations: 130.1 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.006148, allocations: 29.7 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.006196, allocations: 92.17 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.006211, allocations: 23.83 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.006257, allocations: 29.7 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.006332, allocations: 322.8 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.006453, allocations: 131.3 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.006564, allocations: 123.3 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.006753, allocations: 185.9 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006755, allocations: 0 / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003278/0.007083, allocations: 324.3 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.007119, allocations: 67.39 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007123, allocations: 80 / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.007133, allocations: 0 / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.0072, allocations: 15.98 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007205, allocations: 3.984 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.007275, allocations: 23.91 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.007288, allocations: 8 kB / 1.007 GB, free: 6.891 MB / 0.9636 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.000112/0.0074, allocations: 167.4 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.007412, allocations: 11.89 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.007434, allocations: 12.78 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007436, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00744, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.007443, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.007518, allocations: 129.3 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.007518, allocations: 0 / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.007554, allocations: 16.17 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.007556, allocations: 96 / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.007567, allocations: 11.94 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007568, allocations: 4 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007569, allocations: 0 / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.007835, allocations: 276.3 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.007847, allocations: 15.88 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.007863, allocations: 0 / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.007922, allocations: 27.97 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.00801, allocations: 27.97 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.008021, allocations: 11.98 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.008062, allocations: 102.1 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008062, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001412/0.008203, allocations: 28 kB / 1.007 GB, free: 5.988 MB / 0.9636 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.088e-05/0.008274, allocations: 95.25 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.008646, allocations: 351.7 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008647, allocations: 3.938 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.008786, allocations: 165 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.00894, allocations: 12 kB / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.009361, allocations: 287.2 kB / 1.008 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.073e-05/0.009412, allocations: 75.33 kB / 1.008 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.009452, allocations: 16.48 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of SimCode: time 8.51e-07/0.009453, allocations: 4 kB / 1.008 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of Templates: time 0.002377/0.01183, allocations: 1.488 MB / 1.01 GB, free: 3.383 MB / 0.9636 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=800 -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/jenkins/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: 6.417960613034666]