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.0008439/0.0008439, 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.0008892/0.0008892, allocations: 170.3 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.9309/0.9309, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.812/1.812, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.843e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002488/0.002507, allocations: 1.498 MB / 0.9824 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006652/0.003172, allocations: 0.491 MB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.003236, allocations: 7.938 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.819e-05/0.003334, allocations: 7.922 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.00338, allocations: 7.875 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.003632, allocations: 51.8 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003782, allocations: 103.7 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.003877, allocations: 12.17 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.004036, allocations: 63.88 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.004102, allocations: 39.83 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.004123, allocations: 12 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.004165, allocations: 12 kB / 0.9832 GB, free: 316 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.004201, allocations: 15.92 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.004249, allocations: 27.97 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004388, allocations: 103.7 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00439, allocations: 0 / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004391, allocations: 0 / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.004396, allocations: 0 / 0.9833 GB, free: 168 kB / 0.9323 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.0005148/0.004911, allocations: 387.6 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.004948, allocations: 16.03 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.004977, allocations: 34.75 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.005077, allocations: 20.88 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.005257, allocations: 140.6 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.005269, allocations: 8.359 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.005283, allocations: 4.375 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.005496, allocations: 147.8 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005504, allocations: 192 / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.005517, allocations: 11.94 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005521, allocations: 4 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.005682, allocations: 117.6 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.006036, allocations: 287.9 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.006218, allocations: 124.2 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.006324, allocations: 106.6 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.006335, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.006533, allocations: 157 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.006534, allocations: 0 / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0004532/0.006987, allocations: 338.6 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.007036, allocations: 89.05 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.00712, allocations: 134.1 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.00714, allocations: 25.7 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.007199, allocations: 100.1 kB / 0.9855 GB, free: 13.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.007213, allocations: 15.84 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.007259, allocations: 33.7 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.007339, allocations: 322.8 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.007459, allocations: 123.3 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.007573, allocations: 131.3 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.007756, allocations: 177.9 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007759, allocations: 0 / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003023/0.008061, allocations: 324.3 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.008105, allocations: 67.39 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00811, allocations: 0 / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.008121, allocations: 4 kB / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.008189, allocations: 16.08 kB / 0.9866 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.008194, allocations: 3.938 kB / 0.9866 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.008264, allocations: 19.97 kB / 0.9866 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.008277, allocations: 4 kB / 0.9866 GB, free: 12.4 MB / 0.948 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 8.684e-05/0.008364, allocations: 159.4 kB / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.008375, allocations: 11.89 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.008399, allocations: 16.77 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.0084, allocations: 4 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.008405, allocations: 256 / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008407, allocations: 0 / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.008501, allocations: 160.7 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.008502, allocations: 0 / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.008536, allocations: 11.98 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.008539, allocations: 3.984 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.008549, allocations: 4 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00855, allocations: 0 / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008551, allocations: 0 / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.008815, allocations: 280.3 kB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.008826, allocations: 11.89 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.008843, allocations: 7.984 kB / 0.9873 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.008906, allocations: 23.97 kB / 0.9873 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.008996, allocations: 35.89 kB / 0.9873 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.009006, allocations: 4 kB / 0.9873 GB, free: 11.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.009058, allocations: 107.2 kB / 0.9874 GB, free: 11.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009058, allocations: 4 kB / 0.9874 GB, free: 11.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001391/0.009197, allocations: 24 kB / 0.9875 GB, free: 11.46 MB / 0.948 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.0004731/0.00967, allocations: 0.8059 MB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.01001, allocations: 359.7 kB / 0.9886 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01001, allocations: 0 / 0.9886 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.01015, allocations: 161 kB / 0.9888 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.0103, allocations: 15.98 kB / 0.9888 GB, free: 10.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.01182, allocations: 2.041 MB / 0.9908 GB, free: 7.832 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.67e-05/0.01187, allocations: 75.58 kB / 0.9908 GB, free: 7.738 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.01191, allocations: 7.984 kB / 0.9908 GB, free: 7.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.01196, allocations: 20.5 kB / 0.9909 GB, free: 7.707 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/0.01196, allocations: 0 / 0.9909 GB, free: 7.707 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.02836, allocations: 3.907 MB / 0.9947 GB, free: 3.969 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.436/6.465, allocations: 7.688 kB / 0.9947 GB, free: 3.965 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.718110811896622]