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.001819/0.001819, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002324/0.002324, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.793 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.885/2.885, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] 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.00214/0.00214, allocations: 66.67 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 170 MB / 1.283 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003017/0.363, allocations: 1.494 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3642, allocations: 0.4888 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.3642, allocations: 3.938 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3644, allocations: 7.922 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.3644, allocations: 19.8 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3648, allocations: 43.94 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.365, allocations: 99.77 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3651, allocations: 12.11 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.3653, allocations: 63.77 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.3654, allocations: 35.89 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3654, allocations: 12 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.3655, allocations: 8 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.3655, allocations: 15.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.3656, allocations: 39.84 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3658, allocations: 87.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3658, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3658, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3658, allocations: 3.938 kB / 1.285 GB, free: 10.1 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.0008339/0.3666, allocations: 381.4 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.3667, allocations: 15.97 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.3667, allocations: 42.73 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.3669, allocations: 16.88 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3672, allocations: 130.4 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3672, allocations: 8.375 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.3672, allocations: 4.375 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3676, allocations: 147.2 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3676, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3676, allocations: 8 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3676, allocations: 0 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.368, allocations: 125.5 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.3686, allocations: 287.8 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.3689, allocations: 124.2 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3692, allocations: 102.6 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3692, allocations: 3.984 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.3695, allocations: 149 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.3695, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0008555/0.3704, allocations: 338.6 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.3704, allocations: 85.09 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3706, allocations: 130.1 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3706, allocations: 33.7 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.3707, allocations: 92.09 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3708, allocations: 23.83 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.3708, allocations: 29.72 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.371, allocations: 322.8 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.3713, allocations: 127.3 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3715, allocations: 131.3 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.3719, allocations: 181.9 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3719, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006264/0.3725, allocations: 324.3 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/0.3726, allocations: 59.41 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3726, allocations: 0 / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3727, allocations: 4 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.3728, allocations: 19.98 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3728, allocations: 3.984 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.373, allocations: 24.17 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.373, allocations: 3.938 kB / 1.288 GB, free: 6.34 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.0001655/0.3731, allocations: 159.5 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.3732, allocations: 7.953 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.3732, allocations: 20.72 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3732, allocations: 3.984 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3732, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3732, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3734, allocations: 156.6 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3734, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.3735, allocations: 15.92 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3735, allocations: 4 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3735, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3735, allocations: 3.984 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3735, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.3742, allocations: 288.3 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.3742, allocations: 3.938 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3742, allocations: 4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3743, allocations: 24.06 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.3745, allocations: 39.89 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3745, allocations: 4.078 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.218e-05/0.3746, allocations: 105.6 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 4 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002279/0.3748, allocations: 27.95 kB / 1.289 GB, free: 5.395 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.0009786/0.3758, allocations: 0.8109 MB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000661/0.3765, allocations: 351.7 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3765, allocations: 4 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.3768, allocations: 161 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.377, allocations: 12 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.38, allocations: 2.02 MB / 1.292 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.581e-05/0.3801, allocations: 79.08 kB / 1.292 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.3802, allocations: 7.984 kB / 1.292 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.3802, allocations: 27.42 kB / 1.292 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of SimCode: time 1.112e-06/0.3802, allocations: 0 / 1.292 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.4136, allocations: 3.779 MB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.38, allocations: 8.828 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.584221336059272]