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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001542, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 195.2 kB / 16.14 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.871/2.871, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6656, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003026/0.6687, allocations: 1.536 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.6696, allocations: 478.8 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.6697, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.6698, allocations: 7.922 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.6699, allocations: 7.938 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.6701, allocations: 35.89 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.6702, allocations: 91.77 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.6703, allocations: 8.172 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.6705, allocations: 47.83 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.6706, allocations: 39.83 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.6706, allocations: 4 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.6707, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.6707, allocations: 19.92 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.6708, allocations: 31.86 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.671, allocations: 79.75 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.671, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.671, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.671, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 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.0007628/0.6717, allocations: 444.7 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.6718, allocations: 12.02 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.6719, allocations: 16.84 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.6721, allocations: 184.2 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.6721, allocations: 12.31 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.6721, allocations: 8.375 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.6725, allocations: 117.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6725, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.6725, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6725, allocations: 3.984 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.6728, allocations: 91.92 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.6734, allocations: 332.6 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.6738, allocations: 114.5 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.674, allocations: 72.92 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.674, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.6744, allocations: 123.3 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.6744, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007649/0.6752, allocations: 275.1 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.6753, allocations: 89.09 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.6754, allocations: 129.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.6754, allocations: 29.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.6755, allocations: 96.05 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.6755, allocations: 11.91 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.6756, allocations: 29.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6757, allocations: 330.7 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.676, allocations: 63.95 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.6762, allocations: 63.95 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.6765, allocations: 189.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6765, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005335/0.6771, allocations: 261 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.6771, allocations: 67.39 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6772, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6772, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.6773, allocations: 15.98 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.6773, allocations: 3.938 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.6775, allocations: 31.81 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.6775, allocations: 8 kB / 1.022 GB, free: 12.93 MB / 0.7794 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.0001351/0.6777, allocations: 156.3 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.6777, allocations: 7.906 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.6777, allocations: 12.36 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6777, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6778, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6778, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.6779, allocations: 193.5 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6779, allocations: 256 / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.678, allocations: 11.98 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6781, allocations: 4 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.6781, allocations: 4 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6781, allocations: 96 / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6781, allocations: 3.938 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.6786, allocations: 258.5 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.6787, allocations: 81.09 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.6787, allocations: 8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.6789, allocations: 15.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.679, allocations: 35.95 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.679, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.6791, allocations: 105.8 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6791, allocations: 0 / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002194/0.6793, allocations: 39.83 kB / 1.023 GB, free: 11.89 MB / 0.7794 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.0001101/0.6795, allocations: 99.25 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.68, allocations: 266.6 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.68, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.6803, allocations: 143.3 kB / 1.023 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.6805, allocations: 12 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.6811, allocations: 225 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6814, allocations: 0.6926 MB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.829e-05/0.6814, allocations: 8 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.6815, allocations: 11.42 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.154e-06/0.6815, allocations: 0 / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.004578/0.6861, allocations: 1.614 MB / 1.026 GB, free: 8.746 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (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) 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) Reference file matches