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.0008422/0.0008422, 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.0008375/0.0008375, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9034/0.9034, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.09 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.724e-06/1.724e-06, allocations: 0 / 0.9504 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.368e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002158/0.002182, allocations: 1.498 MB / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.003017, allocations: 0.4953 MB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.003082, allocations: 4 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.003181, allocations: 3.938 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.00323, allocations: 15.86 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.003495, allocations: 43.88 kB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.00365, allocations: 107.7 kB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003757, allocations: 12.17 kB / 0.9526 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.00394, allocations: 67.81 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.004009, allocations: 39.88 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.00403, allocations: 8 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.004072, allocations: 11.94 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.00412, allocations: 19.92 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.004177, allocations: 27.98 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004362, allocations: 99.73 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.004366, allocations: 0 / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.334e-06/0.004368, allocations: 0 / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.004375, allocations: 3.938 kB / 0.9528 GB, free: 1.082 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.0006194/0.004995, allocations: 383.3 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.005041, allocations: 11.97 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.005076, allocations: 34.75 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.005212, allocations: 24.88 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.005496, allocations: 141.6 kB / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.00551, allocations: 384 / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.005525, allocations: 12.31 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.005795, allocations: 143.9 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.005805, allocations: 192 / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.005822, allocations: 11.92 kB / 0.9536 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005828, allocations: 4 kB / 0.9536 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.006005, allocations: 117.6 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.006511, allocations: 279.9 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.006738, allocations: 128.1 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.006852, allocations: 102.6 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.006869, allocations: 0 / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.00711, allocations: 161 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.007112, allocations: 0 / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0005194/0.007631, allocations: 330.8 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.007682, allocations: 89.09 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.007771, allocations: 141.4 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007785, allocations: 25.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.00784, allocations: 100.2 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.007857, allocations: 23.88 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.007905, allocations: 29.67 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.007993, allocations: 326.8 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.008126, allocations: 127.4 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.008247, allocations: 123.4 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.00844, allocations: 185.9 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.008445, allocations: 4 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003177/0.008762, allocations: 324.3 kB / 0.9561 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.00881, allocations: 63.41 kB / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.008816, allocations: 0 / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.008833, allocations: 0 / 0.9561 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.008924, allocations: 15.97 kB / 0.9561 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.008933, allocations: 4 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.009007, allocations: 23.92 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.009021, allocations: 7.938 kB / 0.9562 GB, free: 13.31 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 0.0001077/0.009129, allocations: 159.5 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.009148, allocations: 7.953 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.009178, allocations: 12.77 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.009182, allocations: 4 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.009188, allocations: 0 / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.009192, allocations: 0 / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.00933, allocations: 160.6 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.009333, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.009388, allocations: 11.98 kB / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.009391, allocations: 0 / 0.9565 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.009406, allocations: 7.984 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009407, allocations: 0 / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.00941, allocations: 0 / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.009734, allocations: 280.3 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.009752, allocations: 11.95 kB / 0.9568 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.009772, allocations: 4 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.009842, allocations: 27.95 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.009972, allocations: 31.95 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.009985, allocations: 8.062 kB / 0.9569 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.01005, allocations: 99.27 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 0 / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001646/0.01021, allocations: 28 kB / 0.957 GB, free: 12.38 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.000528/0.01074, allocations: 0.8109 MB / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.01109, allocations: 347.9 kB / 0.9581 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01109, allocations: 4 kB / 0.9581 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.01123, allocations: 153 kB / 0.9583 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.0114, allocations: 22.28 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.0132, allocations: 2.041 MB / 0.9603 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.775e-05/0.01328, allocations: 83.08 kB / 0.9604 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.01333, allocations: 7.781 kB / 0.9604 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.01339, allocations: 28.42 kB / 0.9604 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/0.0134, allocations: 0 / 0.9604 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.03004, allocations: 3.907 MB / 0.9642 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/6.609, allocations: 0 / 0.9642 GB, free: 4.879 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable numReq.y in file Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv. Warning: Get data of variable numReq.y from file Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.737512987107038]