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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002476/0.002476, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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 0.001968/0.001968, allocations: 67.89 kB / 1.104 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8237, allocations: 168.7 MB / 1.269 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003118/0.8268, allocations: 1.498 MB / 1.27 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000834/0.8277, allocations: 462.9 kB / 1.271 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.8277, allocations: 0 / 1.271 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.8278, allocations: 15.86 kB / 1.271 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.8279, allocations: 11.88 kB / 1.271 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.8281, allocations: 35.95 kB / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.8283, allocations: 107.7 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.8284, allocations: 8.188 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.8285, allocations: 47.89 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.8286, allocations: 43.77 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.8286, allocations: 8 kB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.8286, allocations: 12 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.8287, allocations: 11.97 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.8287, allocations: 39.8 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.8289, allocations: 89.8 kB / 1.271 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8289, allocations: 0 / 1.271 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8289, allocations: 0 / 1.271 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8289, allocations: 0 / 1.271 GB, free: 2.992 MB / 0.9669 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.0008198/0.8297, allocations: 446.5 kB / 1.271 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8298, allocations: 12.03 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.8298, allocations: 42.75 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.8299, allocations: 16.88 kB / 1.272 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.8301, allocations: 188.2 kB / 1.272 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8301, allocations: 8.375 kB / 1.272 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.8301, allocations: 8.312 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.8304, allocations: 121.5 kB / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8305, allocations: 0 / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8305, allocations: 0 / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8305, allocations: 4 kB / 1.272 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.8308, allocations: 87.92 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.8314, allocations: 336.7 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.8317, allocations: 102.5 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.8318, allocations: 62.48 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.8319, allocations: 4 kB / 1.272 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.8322, allocations: 127.2 kB / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.8322, allocations: 0 / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000742/0.833, allocations: 275.2 kB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.833, allocations: 89.09 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.8332, allocations: 129.8 kB / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.8332, allocations: 33.7 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.8333, allocations: 92.09 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.8333, allocations: 19.84 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.8334, allocations: 37.7 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8335, allocations: 322.8 kB / 1.273 GB, free: 236 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.8337, allocations: 63.95 kB / 1.274 GB, free: 172 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.8339, allocations: 63.95 kB / 1.274 GB, free: 108 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.8342, allocations: 189.8 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8342, allocations: 0 / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004989/0.8347, allocations: 257 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.8348, allocations: 67.39 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8348, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8348, allocations: 0 / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.8349, allocations: 15.98 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.8349, allocations: 7.938 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.8351, allocations: 15.98 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.8351, allocations: 11.92 kB / 1.274 GB, free: 15.5 MB / 0.9825 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.0001336/0.8352, allocations: 151.5 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.8353, allocations: 8.047 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.8353, allocations: 20.3 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.8353, allocations: 0 / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8353, allocations: 0 / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8353, allocations: 4 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.8355, allocations: 201.8 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8355, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.8356, allocations: 19.98 kB / 1.275 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8356, allocations: 0 / 1.275 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.8356, allocations: 7.938 kB / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8356, allocations: 0 / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8356, allocations: 0 / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.8361, allocations: 254.6 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.8361, allocations: 77.11 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.8362, allocations: 11.97 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.8363, allocations: 19.98 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.8364, allocations: 35.95 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.8364, allocations: 4 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.8365, allocations: 111.1 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8365, allocations: 0 / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002229/0.8368, allocations: 27.95 kB / 1.275 GB, free: 14.45 MB / 0.9825 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.0008666/0.8376, allocations: 0.7825 MB / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.8381, allocations: 250.7 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8381, allocations: 0 / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.8384, allocations: 127.4 kB / 1.276 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.8386, allocations: 20.39 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.8412, allocations: 1.762 MB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.8416, allocations: 0.6962 MB / 1.279 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.939e-05/0.8416, allocations: 11.98 kB / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.8417, allocations: 19.44 kB / 1.279 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.8417, allocations: 0 / 1.279 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.8701, allocations: 3.052 MB / 1.282 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.771, allocations: 3.984 kB / 1.282 GB, free: 7.652 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.637168314307928]