Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001868/0.001868, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00158/0.00158, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.331/3.331, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") [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.002037/0.002037, allocations: 66.91 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 180.2 MB / 1.354 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003165/0.3763, allocations: 1.523 MB / 1.356 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3773, allocations: 0.526 MB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3774, allocations: 0 / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.517e-05/0.3775, allocations: 7.938 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.3775, allocations: 19.84 kB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3778, allocations: 43.89 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.378, allocations: 103.7 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3781, allocations: 12.17 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.3783, allocations: 59.83 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3784, allocations: 43.83 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3784, allocations: 8 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.921e-05/0.3785, allocations: 16 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.3785, allocations: 11.92 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.3786, allocations: 43.78 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3787, allocations: 91.64 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3787, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3787, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3787, allocations: 0 / 1.356 GB, free: 5.488 MB / 1.045 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.0007004/0.3794, allocations: 389.4 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3795, allocations: 8.031 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.3796, allocations: 20.88 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3799, allocations: 138.3 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3799, allocations: 8.375 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3799, allocations: 8.375 kB / 1.357 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.3802, allocations: 117.7 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3803, allocations: 4 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3803, allocations: 4 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3803, allocations: 0 / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3806, allocations: 87.92 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3811, allocations: 299.8 kB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.3814, allocations: 106.5 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3816, allocations: 68.88 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3816, allocations: 0 / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.3819, allocations: 123.3 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3819, allocations: 0 / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.000702/0.3826, allocations: 279.1 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.3827, allocations: 89.09 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3828, allocations: 131.8 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3829, allocations: 37.62 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3829, allocations: 92.14 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3829, allocations: 19.84 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.383, allocations: 29.7 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3832, allocations: 326.8 kB / 1.359 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3833, allocations: 63.95 kB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.3835, allocations: 63.95 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.3839, allocations: 189.8 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3839, allocations: 0 / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005026/0.3844, allocations: 253.2 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.3844, allocations: 73.42 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3844, allocations: 0 / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3845, allocations: 8 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3846, allocations: 15.92 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3846, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3847, allocations: 31.92 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3847, allocations: 4.094 kB / 1.359 GB, free: 2.207 MB / 1.045 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.000136/0.3849, allocations: 164 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.3849, allocations: 11.95 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.3849, allocations: 12.72 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3849, allocations: 4 kB / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3849, allocations: 0 / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3849, allocations: 0 / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3851, allocations: 168.7 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3851, allocations: 0 / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.3852, allocations: 11.98 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3852, allocations: 0 / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.3852, allocations: 7.969 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3852, allocations: 4 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3852, allocations: 4 kB / 1.36 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.3857, allocations: 250.6 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.3857, allocations: 11.89 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3858, allocations: 4 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3859, allocations: 23.97 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.386, allocations: 35.95 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.386, allocations: 4 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.415e-05/0.3861, allocations: 109.6 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3861, allocations: 0 / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002103/0.3863, allocations: 27.94 kB / 1.36 GB, free: 1.289 MB / 1.045 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.0001026/0.3864, allocations: 95.25 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.3869, allocations: 262.6 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3869, allocations: 0 / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.3872, allocations: 131.4 kB / 1.361 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3874, allocations: 13.53 kB / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.3879, allocations: 237.2 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3882, allocations: 0.7001 MB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.3883, allocations: 19.42 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3883, allocations: 0 / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of Templates: time 0.003303/0.3916, allocations: 1.48 MB / 1.363 GB, free: 14.26 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.667250351980329]