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.001701/0.001701, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.002078/0.002078, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.559/1.559, allocations: 222.9 MB / 245.7 MB, free: 4.207 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 3.209/3.209, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 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.002561/0.002561, allocations: 67.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.133, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002876/1.136, allocations: 1.498 MB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009273/1.136, allocations: 461.6 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/1.137, allocations: 0.7812 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/1.137, allocations: 5.156 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/1.137, allocations: 15.36 kB / 1.264 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/1.137, allocations: 41.48 kB / 1.264 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/1.137, allocations: 96.88 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/1.137, allocations: 12.75 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/1.138, allocations: 54.95 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/1.138, allocations: 36.2 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/1.138, allocations: 7.969 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/1.138, allocations: 7.906 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/1.138, allocations: 23.22 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/1.138, allocations: 41.67 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/1.138, allocations: 82.05 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.138, allocations: 4.75 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.138, allocations: 0 / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.185e-05/1.138, allocations: 0.9062 kB / 1.265 GB, free: 6.445 MB / 0.9981 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.0007157/1.139, allocations: 453.8 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.139, allocations: 8.812 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/1.139, allocations: 11.14 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/1.139, allocations: 187.5 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/1.139, allocations: 7.766 kB / 1.265 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.139, allocations: 14.67 kB / 1.265 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/1.14, allocations: 114.1 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.14, allocations: 0 / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/1.14, allocations: 6.031 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.14, allocations: 1.188 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/1.14, allocations: 94.34 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/1.141, allocations: 327.2 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/1.141, allocations: 104.4 kB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/1.141, allocations: 75.06 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/1.141, allocations: 1.547 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/1.142, allocations: 127.9 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/1.142, allocations: 0 / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0008245/1.142, allocations: 280.8 kB / 1.267 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.142, allocations: 82.17 kB / 1.267 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/1.143, allocations: 130.4 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/1.143, allocations: 28.33 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/1.143, allocations: 97.58 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/1.143, allocations: 21.41 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/1.143, allocations: 28.45 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/1.143, allocations: 327 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.143, allocations: 70.48 kB / 1.267 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/1.143, allocations: 71.11 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/1.144, allocations: 182.8 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.144, allocations: 4 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005603/1.144, allocations: 258.5 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/1.144, allocations: 66.03 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.144, allocations: 0 / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.144, allocations: 1.422 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/1.144, allocations: 13.69 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.144, allocations: 0.8125 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/1.145, allocations: 32.98 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.145, allocations: 3.938 kB / 1.268 GB, free: 4.074 MB / 0.9981 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.0001066/1.145, allocations: 160.7 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/1.145, allocations: 12.52 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/1.145, allocations: 12.03 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.145, allocations: 5.516 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.145, allocations: 0 / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.145, allocations: 0.875 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/1.145, allocations: 195.8 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.145, allocations: 0.6562 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/1.145, allocations: 16.88 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.145, allocations: 1.375 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.145, allocations: 3.031 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.145, allocations: 1.219 kB / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.145, allocations: 0 / 1.268 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/1.146, allocations: 249.6 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/1.146, allocations: 84.14 kB / 1.269 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/1.146, allocations: 7.703 kB / 1.269 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.146, allocations: 18.42 kB / 1.269 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.146, allocations: 37.11 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/1.146, allocations: 3.734 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.498e-05/1.146, allocations: 103.3 kB / 1.269 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.146, allocations: 4 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002212/1.146, allocations: 25.53 kB / 1.269 GB, free: 3.336 MB / 0.9981 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.0001267/1.147, allocations: 107.4 kB / 1.269 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005799/1.147, allocations: 261.2 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.147, allocations: 0 / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/1.147, allocations: 147.1 kB / 1.269 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/1.148, allocations: 18.45 kB / 1.269 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/1.148, allocations: 253.5 kB / 1.27 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/1.148, allocations: 0.6887 MB / 1.27 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/1.148, allocations: 12.27 kB / 1.27 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of SimCode: time 4.8e-07/1.148, allocations: 5.188 kB / 1.27 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of Templates: time 0.004145/1.153, allocations: 1.45 MB / 1.272 GB, free: 1.965 MB / 0.9981 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=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_2/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: 12.04942009714432]