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.001389/0.001389, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001735/0.001735, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.839/2.839, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7533/0.7553, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003121/0.7585, allocations: 1.554 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.7594, allocations: 459 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.7595, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.7596, allocations: 3.938 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.7597, allocations: 7.938 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.7599, allocations: 39.89 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.7601, allocations: 103.8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.7602, allocations: 12.19 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.7604, allocations: 47.84 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.7605, allocations: 43.81 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.7605, allocations: 8 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.7605, allocations: 8 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.7606, allocations: 19.92 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.7607, allocations: 39.84 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.7608, allocations: 75.77 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7608, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7608, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.7608, allocations: 4 kB / 1.019 GB, free: 288 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.0007566/0.7616, allocations: 456.5 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.7616, allocations: 12.03 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.7617, allocations: 8.844 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.7619, allocations: 192.1 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7619, allocations: 8.312 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.762, allocations: 8.375 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.7623, allocations: 113.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7623, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.7624, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.7624, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.7627, allocations: 83.92 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.7634, allocations: 340.6 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.7637, allocations: 110.4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.7639, allocations: 72.94 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.764, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/0.7643, allocations: 127.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.7643, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007878/0.7651, allocations: 279.1 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.7652, allocations: 85.11 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.7653, allocations: 131.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.7654, allocations: 33.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.7655, allocations: 96.12 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.7655, allocations: 15.81 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.7656, allocations: 25.72 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7657, allocations: 322.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.7659, allocations: 67.95 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.7661, allocations: 67.94 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.7665, allocations: 185.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7666, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005214/0.7671, allocations: 256.9 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.7672, allocations: 67.39 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7672, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7672, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.7673, allocations: 19.92 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.7673, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.7675, allocations: 27.81 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.7675, allocations: 8 kB / 1.022 GB, free: 12.82 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.0001393/0.7677, allocations: 160.3 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.7677, allocations: 4 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.7677, allocations: 16.38 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7678, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7678, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7678, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.768, allocations: 201.5 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.768, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.7681, allocations: 11.98 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7681, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.7681, allocations: 7.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.7681, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7681, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.7686, allocations: 246.9 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.7687, allocations: 84.95 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.7687, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.7689, allocations: 23.97 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.769, allocations: 35.97 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.7691, allocations: 8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.7691, allocations: 99.25 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7692, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002203/0.7694, allocations: 27.94 kB / 1.023 GB, free: 11.79 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.0001243/0.7695, allocations: 107.2 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005528/0.7701, allocations: 270.6 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7701, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.7704, allocations: 135.3 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.7706, allocations: 12 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.7712, allocations: 253 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.7716, allocations: 0.6885 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.433e-05/0.7717, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.7717, allocations: 27.36 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7717, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.004744/0.7765, allocations: 1.689 MB / 1.026 GB, free: 8.535 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