Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001797/0.001797, 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.002178/0.002178, 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.448/1.448, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_12_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.001963/0.001963, allocations: 69.36 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.004112/0.3386, allocations: 1.509 MB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3399, allocations: 0.5182 MB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.34, allocations: 7.875 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.3401, allocations: 3.938 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.876e-05/0.3402, allocations: 15.86 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.3406, allocations: 55.88 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.3408, allocations: 99.75 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.341, allocations: 4.188 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3412, allocations: 67.75 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.3413, allocations: 35.89 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.3413, allocations: 8 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.3414, allocations: 8 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.3414, allocations: 19.92 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.3415, allocations: 39.8 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3417, allocations: 91.91 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3417, allocations: 4 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3417, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3417, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 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.0007627/0.3424, allocations: 454.5 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3425, allocations: 15.98 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.3425, allocations: 34.75 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3427, allocations: 20.88 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.343, allocations: 208.1 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.343, allocations: 4.375 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.343, allocations: 8.375 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.3434, allocations: 113.5 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3434, allocations: 7.984 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3434, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3434, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3437, allocations: 91.92 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3443, allocations: 328.7 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3446, allocations: 106.4 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.3448, allocations: 64.94 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3448, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.3451, allocations: 123.3 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3451, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007678/0.3459, allocations: 287.1 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.346, allocations: 81.11 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3461, allocations: 130.1 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.3461, allocations: 33.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.3462, allocations: 96.08 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3462, allocations: 23.91 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.3463, allocations: 33.7 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3465, allocations: 322.8 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3467, allocations: 67.94 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3468, allocations: 63.95 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.3472, allocations: 181.8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3472, allocations: 4 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005514/0.3478, allocations: 265 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/0.3478, allocations: 63.41 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3478, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3479, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.348, allocations: 23.91 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.348, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3482, allocations: 23.94 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3482, allocations: 11.92 kB / 1.326 GB, free: 13.36 MB / 1.029 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.0001431/0.3483, allocations: 151.5 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.3484, allocations: 7.953 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.3484, allocations: 16.7 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3484, allocations: 0 / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3484, allocations: 0 / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3484, allocations: 0 / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.3486, allocations: 197.5 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3486, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.3487, allocations: 11.98 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3487, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3487, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3487, allocations: 3.938 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3487, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.3492, allocations: 254.8 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.3493, allocations: 88.98 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.3493, allocations: 12.06 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3495, allocations: 19.97 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3496, allocations: 31.97 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3496, allocations: 4 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.3497, allocations: 109.3 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3497, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000228/0.3499, allocations: 28 kB / 1.327 GB, free: 12.32 MB / 1.029 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.0008875/0.3508, allocations: 0.778 MB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.3514, allocations: 254.7 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3514, allocations: 0 / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.3517, allocations: 135.3 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3519, allocations: 15.94 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.3545, allocations: 1.765 MB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3548, allocations: 0.6923 MB / 1.331 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.1e-05/0.3548, allocations: 11.97 kB / 1.331 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.3549, allocations: 27.42 kB / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3549, allocations: 0 / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3815, allocations: 3.081 MB / 1.334 GB, free: 5.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.068, allocations: 8.047 kB / 1.334 GB, free: 5.473 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_Continuous_Examples_NumberOfRequests.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv. Warning: Get data of variable numReq.y from file Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.784553830046207]