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.0008168/0.0008168, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008305/0.0008305, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9339/0.9339, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.715/1.715, allocations: 359 MB / 0.6037 GB, free: 11.1 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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.31e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002274/0.002298, allocations: 1.502 MB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008364/0.003134, allocations: 0.4914 MB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.003203, allocations: 0 / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.003301, allocations: 3.938 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.003355, allocations: 19.84 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.003636, allocations: 51.83 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.003803, allocations: 103.7 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003907, allocations: 4.188 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.004094, allocations: 75.81 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.004168, allocations: 27.89 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.004192, allocations: 12 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.601e-05/0.004238, allocations: 19.92 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.004285, allocations: 11.94 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.004349, allocations: 31.91 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.004525, allocations: 95.8 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.004529, allocations: 7.984 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.803e-06/0.004531, allocations: 4 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.004536, allocations: 3.938 kB / 0.9529 GB, free: 1.055 MB / 0.9011 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.0006214/0.005157, allocations: 377.4 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.005203, allocations: 8.031 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.005237, allocations: 38.73 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.005377, allocations: 20.89 kB / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.005624, allocations: 137.5 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005637, allocations: 8.375 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.005654, allocations: 12.38 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.005885, allocations: 139.9 kB / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005893, allocations: 192 / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.005905, allocations: 7.938 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00591, allocations: 0 / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.006083, allocations: 121.6 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.006527, allocations: 287.8 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.00673, allocations: 132.2 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.006836, allocations: 94.64 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.006848, allocations: 0 / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.007061, allocations: 161 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.007062, allocations: 4 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0004674/0.00753, allocations: 330.8 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.007575, allocations: 89.09 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.007659, allocations: 137.4 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.007676, allocations: 29.7 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.007727, allocations: 96.08 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.007744, allocations: 19.89 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.007792, allocations: 33.67 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.007878, allocations: 322.8 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.008012, allocations: 127.4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.008127, allocations: 127.3 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.008314, allocations: 189.9 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008316, allocations: 0 / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002999/0.008616, allocations: 316.4 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.008659, allocations: 71.33 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008664, allocations: 0 / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.008678, allocations: 4 kB / 0.9561 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.008752, allocations: 15.92 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.008757, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.008834, allocations: 27.97 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.008847, allocations: 8 kB / 0.9562 GB, free: 13.29 MB / 0.9167 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 9.057e-05/0.008938, allocations: 151.5 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.008953, allocations: 15.95 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.008975, allocations: 8.781 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008978, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008981, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008985, allocations: 4 kB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.009083, allocations: 156.7 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009085, allocations: 4 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.009122, allocations: 15.98 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009124, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.009135, allocations: 4 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.009136, allocations: 0 / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.009138, allocations: 7.984 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.009443, allocations: 280.2 kB / 0.9568 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.009456, allocations: 3.953 kB / 0.9568 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.009473, allocations: 8 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.009536, allocations: 23.97 kB / 0.9568 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.009639, allocations: 35.95 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.00965, allocations: 8.062 kB / 0.9569 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.009696, allocations: 95.27 kB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009696, allocations: 0 / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001486/0.009845, allocations: 28 kB / 0.957 GB, free: 12.36 MB / 0.9167 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.0005086/0.01035, allocations: 0.8187 MB / 0.9578 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.01069, allocations: 344 kB / 0.9581 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01069, allocations: 0 / 0.9581 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01083, allocations: 165 kB / 0.9583 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.01101, allocations: 24.45 kB / 0.9583 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.01273, allocations: 2.033 MB / 0.9603 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.01279, allocations: 79.02 kB / 0.9604 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.01284, allocations: 19.77 kB / 0.9604 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.01289, allocations: 24.48 kB / 0.9604 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.01289, allocations: 0 / 0.9604 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.02876, allocations: 3.885 MB / 0.9642 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.512/6.54, allocations: 8 kB / 0.9642 GB, free: 4.859 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.654104080982506]