Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 105.6 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 194.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.2 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 66.05 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2898, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003396/0.2933, allocations: 1.543 MB / 0.9513 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2943, allocations: 458.9 kB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.2944, allocations: 0 / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2946, allocations: 0 / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.2947, allocations: 19.86 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.295, allocations: 27.97 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.2952, allocations: 107.7 kB / 0.9519 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2954, allocations: 24.16 kB / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2955, allocations: 39.91 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2957, allocations: 39.83 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.2957, allocations: 8 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.2957, allocations: 8 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.2958, allocations: 15.97 kB / 0.952 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.2959, allocations: 39.8 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2961, allocations: 51.92 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.2961, allocations: 4 kB / 0.9521 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.2e-06/0.2961, allocations: 0 / 0.9521 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.2961, allocations: 3.938 kB / 0.9521 GB, free: 6.855 MB / 0.7325 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.0008621/0.297, allocations: 454.8 kB / 0.9525 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.297, allocations: 12.03 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.2971, allocations: 8.844 kB / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2973, allocations: 188.2 kB / 0.9527 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2973, allocations: 8.359 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.2974, allocations: 12.38 kB / 0.9527 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.2977, allocations: 113.8 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2977, allocations: 0 / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2978, allocations: 7.984 kB / 0.9528 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2978, allocations: 0 / 0.9528 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.2981, allocations: 91.86 kB / 0.9529 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.2987, allocations: 332.7 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.299, allocations: 106.5 kB / 0.9534 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.2992, allocations: 72.94 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2992, allocations: 0 / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.2996, allocations: 131.2 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2996, allocations: 0 / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0007217/0.3004, allocations: 275.2 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.3004, allocations: 89.12 kB / 0.9539 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3005, allocations: 129.8 kB / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3006, allocations: 29.7 kB / 0.954 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.3007, allocations: 96.12 kB / 0.9541 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3007, allocations: 19.73 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.3008, allocations: 29.72 kB / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3009, allocations: 322.8 kB / 0.9545 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3011, allocations: 67.95 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3013, allocations: 67.89 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3016, allocations: 185.9 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3016, allocations: 0 / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004972/0.3021, allocations: 256.8 kB / 0.955 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.3022, allocations: 71.39 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3022, allocations: 0 / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3022, allocations: 0 / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3024, allocations: 16.23 kB / 0.9551 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3024, allocations: 160 / 0.9551 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3026, allocations: 27.88 kB / 0.9552 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.3026, allocations: 11.98 kB / 0.9552 GB, free: 3.395 MB / 0.7325 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.0001322/0.3027, allocations: 153.5 kB / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3028, allocations: 11.98 kB / 0.9553 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.3028, allocations: 12.38 kB / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3028, allocations: 0 / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3028, allocations: 0 / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3028, allocations: 96 / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.303, allocations: 205.4 kB / 0.9555 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.303, allocations: 0 / 0.9555 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/0.3031, allocations: 15.92 kB / 0.9555 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3031, allocations: 0 / 0.9555 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3031, allocations: 4 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3031, allocations: 4 kB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3031, allocations: 0 / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.3036, allocations: 246.6 kB / 0.9558 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.3037, allocations: 88.97 kB / 0.9559 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3037, allocations: 4 kB / 0.9559 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3039, allocations: 23.98 kB / 0.9559 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.304, allocations: 35.95 kB / 0.9559 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.304, allocations: 8 kB / 0.9559 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.3041, allocations: 97.94 kB / 0.956 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3041, allocations: 0 / 0.956 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002204/0.3043, allocations: 27.94 kB / 0.9561 GB, free: 2.371 MB / 0.7325 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.0001276/0.3045, allocations: 107.2 kB / 0.9562 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.305, allocations: 266.7 kB / 0.9564 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.305, allocations: 4 kB / 0.9564 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.3053, allocations: 135.3 kB / 0.9566 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3055, allocations: 15.98 kB / 0.9566 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.3061, allocations: 265 kB / 0.9568 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.3064, allocations: 0.6961 MB / 0.9575 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3065, allocations: 11.44 kB / 0.9575 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.3065, allocations: 0 / 0.9575 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of Templates: time 0.003431/0.3099, allocations: 1.439 MB / 0.9589 GB, free: 15.34 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches