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.001664/0.001664, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001882/0.001882, allocations: 158.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.866/2.866, allocations: 389 MB / 0.633 GB, free: 0.9531 MB / 0.5919 GB " [Timeout remaining time 176] 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.934e-06/1.934e-06, allocations: 0 / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.6e-05, allocations: 5.656 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00348/0.003516, allocations: 1.5 MB / 1.002 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004828, allocations: 498.7 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.004928, allocations: 4 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.005056, allocations: 7.875 kB / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.00514, allocations: 19.84 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.005471, allocations: 43.83 kB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.005704, allocations: 111.7 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.005825, allocations: 8.188 kB / 1.002 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.006105, allocations: 67.81 kB / 1.002 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.006206, allocations: 35.95 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.006241, allocations: 8 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.006299, allocations: 15.98 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.006351, allocations: 7.938 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.006427, allocations: 35.91 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.006657, allocations: 99.73 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.006661, allocations: 0 / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.126e-06/0.006664, allocations: 3.984 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.006675, allocations: 0 / 1.002 GB, free: 4.863 MB / 0.9512 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.0008201/0.007495, allocations: 381.4 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.007534, allocations: 8.031 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.007721, allocations: 24.86 kB / 1.003 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.008013, allocations: 137.7 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.008027, allocations: 8.312 kB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.008051, allocations: 4.375 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.008433, allocations: 143.9 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.008444, allocations: 192 / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.008468, allocations: 16.12 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.008472, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.008827, allocations: 113.6 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.009434, allocations: 272.3 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.009805, allocations: 128.1 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.01004, allocations: 106.6 kB / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.01006, allocations: 0 / 1.004 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.01043, allocations: 153 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.01043, allocations: 0 / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0008586/0.01129, allocations: 346.5 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.01137, allocations: 85.05 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.01152, allocations: 137.1 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01156, allocations: 29.7 kB / 1.004 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.01165, allocations: 96.08 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.01167, allocations: 15.91 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.01175, allocations: 33.7 kB / 1.005 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.01191, allocations: 318.8 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.01216, allocations: 123.3 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.01239, allocations: 123.4 kB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.01278, allocations: 181.9 kB / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01278, allocations: 3.938 kB / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006074/0.01339, allocations: 328.3 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.01346, allocations: 61.59 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01346, allocations: 0 / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01348, allocations: 7.984 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.01361, allocations: 11.98 kB / 1.006 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.01362, allocations: 4.094 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.01377, allocations: 31.8 kB / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.01379, allocations: 7.984 kB / 1.006 GB, free: 1.172 MB / 0.9512 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.0001778/0.01397, allocations: 152.1 kB / 1.006 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.014, allocations: 11.89 kB / 1.006 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.01404, allocations: 16.77 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01404, allocations: 4 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01405, allocations: 0 / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01405, allocations: 0 / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01421, allocations: 125.4 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01421, allocations: 0 / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.0143, allocations: 19.92 kB / 1.006 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0143, allocations: 0 / 1.006 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01432, allocations: 4 kB / 1.006 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01432, allocations: 3.984 kB / 1.006 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01432, allocations: 4 kB / 1.006 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.01489, allocations: 276.6 kB / 1.006 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01491, allocations: 7.891 kB / 1.006 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.01494, allocations: 12.06 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.01508, allocations: 19.97 kB / 1.006 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.01524, allocations: 39.89 kB / 1.006 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.01525, allocations: 8 kB / 1.006 GB, free: 416 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.741e-05/0.01534, allocations: 95.27 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01534, allocations: 4 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002232/0.01557, allocations: 28 kB / 1.007 GB, free: 288 kB / 0.9512 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.0001757/0.01574, allocations: 107.2 kB / 1.007 GB, free: 168 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006527/0.01639, allocations: 339.8 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.0164, allocations: 0 / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.0167, allocations: 165 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.01694, allocations: 15.98 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.01759, allocations: 255.1 kB / 1.007 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.733e-05/0.01768, allocations: 71.33 kB / 1.007 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.995e-05/0.01773, allocations: 15.98 kB / 1.007 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.01778, allocations: 16.5 kB / 1.008 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.01778, allocations: 0 / 1.008 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of Templates: time 0.005436/0.02322, allocations: 2.036 MB / 1.009 GB, free: 13.17 MB / 0.9669 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: 8.352365400642157]