Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008832/0.0008832, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.00148/0.00148, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9346/0.9346, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.7875 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.101e-05, allocations: 8.781 kB / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.005401/0.005432, allocations: 1.535 MB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.006499, allocations: 0.5117 MB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.006565, allocations: 0.875 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.639e-05/0.006661, allocations: 7.875 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.006715, allocations: 16.53 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.00696, allocations: 52.45 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.007106, allocations: 96.64 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.007194, allocations: 12.17 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.01043, allocations: 68.78 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.0105, allocations: 35.89 kB / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.01053, allocations: 8 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.01057, allocations: 14.97 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.01061, allocations: 19.91 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.01065, allocations: 31.92 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.0108, allocations: 71.78 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.0108, allocations: 4 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01081, allocations: 0 / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01081, allocations: 7.922 kB / 0.7899 GB, free: 9.781 MB / 0.7448 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.000491/0.0113, allocations: 480.9 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01134, allocations: 8.031 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.01146, allocations: 21.48 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.01161, allocations: 141.5 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.01162, allocations: 4.375 kB / 0.7906 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.01163, allocations: 8.375 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.01182, allocations: 125.2 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.01182, allocations: 1.719 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.01184, allocations: 12.12 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.01184, allocations: 0 / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.0119, allocations: 57.62 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.01223, allocations: 277.7 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.01234, allocations: 88.81 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.01239, allocations: 61.48 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.0124, allocations: 6.344 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.01255, allocations: 118.6 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.01255, allocations: 0 / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002962/0.01285, allocations: 238.7 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.01289, allocations: 85.11 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/0.01298, allocations: 188.9 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.013, allocations: 29.7 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.01306, allocations: 147.5 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.01308, allocations: 16.38 kB / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01314, allocations: 39.34 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01326, allocations: 0.4977 MB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.01333, allocations: 87.27 kB / 0.7926 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.01339, allocations: 83.38 kB / 0.7926 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.736e-05/0.01349, allocations: 124.8 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.01349, allocations: 4.625 kB / 0.7928 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002357/0.01373, allocations: 252.3 kB / 0.793 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.01377, allocations: 68.08 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01378, allocations: 160 / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.01379, allocations: 0.6875 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.01387, allocations: 16.73 kB / 0.7931 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01387, allocations: 4.766 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.01395, allocations: 23.98 kB / 0.7931 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.01396, allocations: 5.375 kB / 0.7931 GB, free: 6.184 MB / 0.7448 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.0001106/0.01407, allocations: 198.2 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.01409, allocations: 17.7 kB / 0.7933 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.01412, allocations: 16.78 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01412, allocations: 0 / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01413, allocations: 3.984 kB / 0.7934 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01413, allocations: 7.922 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.556e-05/0.01423, allocations: 109.9 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01423, allocations: 0 / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.01427, allocations: 16.7 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01427, allocations: 0 / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01428, allocations: 4.781 kB / 0.7935 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01428, allocations: 4 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01428, allocations: 1.844 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.01451, allocations: 223.8 kB / 0.7937 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.01452, allocations: 3.953 kB / 0.7937 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.01454, allocations: 11.94 kB / 0.7937 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.01461, allocations: 16.77 kB / 0.7937 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.01469, allocations: 35.95 kB / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.0147, allocations: 2.375 kB / 0.7938 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.01475, allocations: 147.1 kB / 0.7939 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01475, allocations: 3.938 kB / 0.7939 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001873/0.01494, allocations: 20 kB / 0.7939 GB, free: 5.289 MB / 0.7448 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.0001025/0.01504, allocations: 107.2 kB / 0.794 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.01526, allocations: 269.6 kB / 0.7943 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01526, allocations: 3.938 kB / 0.7943 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01536, allocations: 136.7 kB / 0.7944 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01555, allocations: 17.48 kB / 0.7944 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.01757, allocations: 250.6 kB / 0.7947 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.01761, allocations: 63.34 kB / 0.7947 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.01765, allocations: 2 kB / 0.7947 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01777, allocations: 98.19 kB / 0.7948 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of SimCode: time 7.82e-07/0.01777, allocations: 3.562 kB / 0.7948 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.00496/0.02273, allocations: 2.207 MB / 0.797 GB, free: 2.055 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.728243555873632]