Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 188.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 59.91 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.176, allocations: 160.8 MB / 1.218 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003099/1.179, allocations: 1.504 MB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009775/1.18, allocations: 475.5 kB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/1.18, allocations: 3.938 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/1.18, allocations: 5.125 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/1.18, allocations: 13.8 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/1.181, allocations: 33.14 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/1.181, allocations: 104.7 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/1.181, allocations: 12.25 kB / 1.221 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/1.181, allocations: 50.31 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/1.181, allocations: 48.38 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/1.181, allocations: 8.094 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/1.181, allocations: 7.406 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/1.181, allocations: 15.64 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/1.181, allocations: 40.11 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/1.182, allocations: 86.42 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/1.182, allocations: 0 / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/1.182, allocations: 1.719 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.182, allocations: 0 / 1.221 GB, free: 1.91 MB / 0.92 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.0008028/1.182, allocations: 453 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.182, allocations: 9.156 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/1.183, allocations: 13.7 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/1.183, allocations: 189.8 kB / 1.221 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.183, allocations: 7.781 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/1.183, allocations: 6.031 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/1.183, allocations: 123.3 kB / 1.222 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.183, allocations: 0 / 1.222 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/1.183, allocations: 2.469 kB / 1.222 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/1.183, allocations: 0 / 1.222 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/1.184, allocations: 87.58 kB / 1.222 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/1.184, allocations: 347 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/1.185, allocations: 98.17 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/1.185, allocations: 67.16 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/1.185, allocations: 0 / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/1.185, allocations: 127.8 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/1.185, allocations: 1.125 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0007547/1.186, allocations: 273 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/1.186, allocations: 88.28 kB / 1.223 GB, free: 320 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.186, allocations: 122.1 kB / 1.223 GB, free: 208 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/1.186, allocations: 35.98 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/1.186, allocations: 99.45 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/1.186, allocations: 16.19 kB / 1.223 GB, free: 56 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/1.186, allocations: 32.7 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.187, allocations: 325.2 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/1.187, allocations: 62.27 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.187, allocations: 69.86 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/1.187, allocations: 183.2 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.187, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005633/1.188, allocations: 258.6 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/1.188, allocations: 63.91 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.188, allocations: 0 / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.188, allocations: 9.234 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/1.188, allocations: 17.17 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.188, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/1.188, allocations: 18.3 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/1.188, allocations: 10.8 kB / 1.224 GB, free: 15.24 MB / 0.9356 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.0001532/1.188, allocations: 162.1 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/1.188, allocations: 9.578 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/1.188, allocations: 18.58 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.188, allocations: 4.984 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.188, allocations: 0 / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.188, allocations: 0 / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/1.189, allocations: 201.6 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.189, allocations: 0 / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-05/1.189, allocations: 15.89 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.189, allocations: 1.062 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.189, allocations: 2.25 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/1.189, allocations: 5.062 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.189, allocations: 4 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/1.189, allocations: 249.5 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/1.189, allocations: 83.41 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/1.189, allocations: 10.14 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.19, allocations: 20.23 kB / 1.225 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.19, allocations: 34.95 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/1.19, allocations: 7.344 kB / 1.225 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.172e-05/1.19, allocations: 97.69 kB / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.19, allocations: 0 / 1.225 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002218/1.19, allocations: 30.44 kB / 1.225 GB, free: 14.41 MB / 0.9356 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.0001308/1.19, allocations: 100.3 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005473/1.191, allocations: 263.6 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.191, allocations: 0 / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/1.191, allocations: 125.4 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/1.191, allocations: 22.16 kB / 1.225 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/1.192, allocations: 221.8 kB / 1.225 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/1.192, allocations: 0.6929 MB / 1.226 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.89e-05/1.192, allocations: 9.266 kB / 1.226 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/1.192, allocations: 11.66 kB / 1.226 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.192, allocations: 0 / 1.226 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.005539/1.198, allocations: 1.942 MB / 1.228 GB, free: 12.14 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.405858187936246]