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.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.001832/0.001832, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002046/0.002046, allocations: 186 kB / 20.78 MB, free: 1.547 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.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 1.136 GB, free: 12.53 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 173.7 MB / 1.305 GB, free: 33.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002648/1.128, allocations: 1.485 MB / 1.307 GB, free: 32.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/1.128, allocations: 466.9 kB / 1.307 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/1.128, allocations: 10.62 kB / 1.307 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/1.129, allocations: 7.359 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/1.129, allocations: 18.48 kB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/1.129, allocations: 36 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/1.129, allocations: 99.95 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/1.129, allocations: 9.844 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/1.129, allocations: 47.95 kB / 1.308 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/1.129, allocations: 40.77 kB / 1.308 GB, free: 32.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/1.129, allocations: 12.81 kB / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/1.129, allocations: 8.5 kB / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/1.129, allocations: 22.17 kB / 1.308 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/1.129, allocations: 42.45 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/1.13, allocations: 81.53 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.13, allocations: 3.938 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/1.13, allocations: 0 / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.13, allocations: 0 / 1.308 GB, free: 31.93 MB / 1.061 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.0006539/1.13, allocations: 449.8 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.13, allocations: 15.47 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/1.13, allocations: 14.19 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/1.13, allocations: 187.9 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/1.131, allocations: 6.719 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/1.131, allocations: 10.12 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/1.131, allocations: 111.8 kB / 1.308 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.131, allocations: 3.938 kB / 1.308 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.131, allocations: 6.969 kB / 1.308 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.131, allocations: 0 / 1.308 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/1.131, allocations: 90.97 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/1.132, allocations: 331 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/1.132, allocations: 101.1 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.132, allocations: 68.75 kB / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/1.132, allocations: 0 / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/1.132, allocations: 119.1 kB / 1.309 GB, free: 30.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/1.132, allocations: 0 / 1.309 GB, free: 30.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0006348/1.133, allocations: 279.4 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.133, allocations: 82.45 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/1.133, allocations: 132.7 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.133, allocations: 28.45 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/1.133, allocations: 98.31 kB / 1.31 GB, free: 30.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/1.133, allocations: 25.88 kB / 1.31 GB, free: 30.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/1.133, allocations: 36.84 kB / 1.31 GB, free: 30.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/1.133, allocations: 318 kB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/1.133, allocations: 69.3 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/1.134, allocations: 66.75 kB / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/1.134, allocations: 185.2 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.134, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004025/1.134, allocations: 264.8 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/1.134, allocations: 65.16 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.134, allocations: 0 / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.134, allocations: 0 / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.134, allocations: 15.2 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.134, allocations: 2.719 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/1.135, allocations: 26.92 kB / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.135, allocations: 5.5 kB / 1.311 GB, free: 29.57 MB / 1.061 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 9.127e-05/1.135, allocations: 164.3 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/1.135, allocations: 13.44 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/1.135, allocations: 11.44 kB / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.135, allocations: 0 / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.135, allocations: 4 kB / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.135, allocations: 4 kB / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/1.135, allocations: 197.7 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.135, allocations: 0 / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/1.135, allocations: 12.2 kB / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.135, allocations: 0 / 1.311 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.135, allocations: 6.938 kB / 1.311 GB, free: 29.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.135, allocations: 0 / 1.311 GB, free: 29.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.135, allocations: 3.219 kB / 1.311 GB, free: 29.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/1.135, allocations: 246.1 kB / 1.311 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/1.135, allocations: 83.66 kB / 1.311 GB, free: 28.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/1.135, allocations: 2.531 kB / 1.311 GB, free: 28.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.136, allocations: 20.98 kB / 1.312 GB, free: 28.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.136, allocations: 40.88 kB / 1.312 GB, free: 28.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.136, allocations: 2.969 kB / 1.312 GB, free: 28.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.759e-05/1.136, allocations: 108.2 kB / 1.312 GB, free: 28.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.136, allocations: 0 / 1.312 GB, free: 28.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002041/1.136, allocations: 30.84 kB / 1.312 GB, free: 28.83 MB / 1.061 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 9.312e-05/1.136, allocations: 99.52 kB / 1.312 GB, free: 28.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004354/1.136, allocations: 256.4 kB / 1.312 GB, free: 28.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.136, allocations: 0 / 1.312 GB, free: 28.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/1.137, allocations: 141.5 kB / 1.312 GB, free: 28.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/1.137, allocations: 18.38 kB / 1.312 GB, free: 28.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/1.137, allocations: 228.6 kB / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/1.138, allocations: 0.6934 MB / 1.313 GB, free: 27.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.899e-05/1.138, allocations: 12.88 kB / 1.313 GB, free: 27.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/1.138, allocations: 17.22 kB / 1.313 GB, free: 27.61 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.138, allocations: 0 / 1.313 GB, free: 27.61 MB / 1.061 GB Notification: Performance of Templates: time 0.004618/1.142, allocations: 1.909 MB / 1.315 GB, free: 27.44 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/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: 9.711307592689991]