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.001314/0.001314, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001404/0.001404, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.659/2.659, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.89 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.7278, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002559/0.7303, allocations: 1.503 MB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.7313, allocations: 0.5431 MB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.7313, allocations: 0 / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.951e-05/0.7314, allocations: 11.86 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.7315, allocations: 7.875 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.7317, allocations: 43.88 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.7319, allocations: 107.8 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.732, allocations: 8.188 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.7322, allocations: 59.77 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.7323, allocations: 43.83 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.7323, allocations: 11.98 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.7323, allocations: 12 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.7324, allocations: 11.98 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.7324, allocations: 39.8 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.7326, allocations: 89.45 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7326, allocations: 4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7326, allocations: 4 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7326, allocations: 0 / 1.281 GB, free: 10.88 MB / 0.9825 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.0007611/0.7334, allocations: 458.5 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7334, allocations: 8.031 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.7335, allocations: 34.75 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.7336, allocations: 20.88 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.7339, allocations: 194.5 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.7339, allocations: 8.375 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.7339, allocations: 8.375 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.7342, allocations: 117.5 kB / 1.281 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7342, allocations: 3.938 kB / 1.281 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7342, allocations: 3.938 kB / 1.281 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7342, allocations: 4 kB / 1.281 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.7345, allocations: 87.92 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.7351, allocations: 340.6 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.7354, allocations: 94.52 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.7356, allocations: 72.88 kB / 1.282 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.7356, allocations: 0 / 1.282 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.7359, allocations: 123.3 kB / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.7359, allocations: 0 / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007537/0.7367, allocations: 271.2 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.7368, allocations: 89.09 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.7369, allocations: 138 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.7369, allocations: 25.7 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.737, allocations: 96.09 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.737, allocations: 19.89 kB / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.7371, allocations: 29.66 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7372, allocations: 326.8 kB / 1.283 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.7374, allocations: 67.95 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.7376, allocations: 67.94 kB / 1.283 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.738, allocations: 177.9 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.738, allocations: 0 / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005434/0.7385, allocations: 264.9 kB / 1.284 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.7386, allocations: 63.39 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7386, allocations: 0 / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7386, allocations: 4 kB / 1.284 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.7387, allocations: 11.98 kB / 1.284 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.7387, allocations: 0 / 1.284 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.7389, allocations: 32.16 kB / 1.284 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.7389, allocations: 11.94 kB / 1.284 GB, free: 7.371 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.0001348/0.739, allocations: 151.5 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.7391, allocations: 15.89 kB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.7391, allocations: 12.72 kB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7391, allocations: 0 / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7391, allocations: 0 / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7391, allocations: 3.984 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.7393, allocations: 197.6 kB / 1.284 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7393, allocations: 7.922 kB / 1.284 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.7394, allocations: 15.98 kB / 1.284 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.7394, allocations: 4 kB / 1.284 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.7394, allocations: 4.094 kB / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7394, allocations: 3.938 kB / 1.284 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7394, allocations: 0 / 1.284 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.7399, allocations: 250.6 kB / 1.284 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.74, allocations: 81.11 kB / 1.285 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.74, allocations: 0 / 1.285 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.7402, allocations: 27.97 kB / 1.285 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.7403, allocations: 31.95 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.7403, allocations: 7.938 kB / 1.285 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.525e-05/0.7404, allocations: 105.7 kB / 1.285 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7404, allocations: 0 / 1.285 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002325/0.7406, allocations: 31.95 kB / 1.285 GB, free: 6.32 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.0008216/0.7414, allocations: 0.7825 MB / 1.285 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.7419, allocations: 262.6 kB / 1.286 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7419, allocations: 0 / 1.286 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.7422, allocations: 127.3 kB / 1.286 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.7424, allocations: 12 kB / 1.286 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.745, allocations: 1.767 MB / 1.288 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.7452, allocations: 0.6924 MB / 1.288 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.139e-05/0.7453, allocations: 7.984 kB / 1.288 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.7454, allocations: 23.44 kB / 1.288 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.7454, allocations: 0 / 1.288 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.7713, allocations: 3.103 MB / 1.291 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.454, allocations: 7.922 kB / 1.291 GB, free: 15.46 MB / 0.9981 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 & 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/jenkins1/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: 14.328458335017785]