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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_latest_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.001193/0.001193, allocations: 104.5 kB / 16.41 MB, free: 6.457 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.001146/0.001146, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.315/2.315, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 68.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6608, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002282/0.6631, allocations: 1.486 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.6639, allocations: 458.9 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.6639, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.178e-05/0.664, allocations: 7.875 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.6641, allocations: 19.86 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.6642, allocations: 31.95 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.6644, allocations: 111.7 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.6645, allocations: 12.17 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.6646, allocations: 43.84 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.6647, allocations: 51.81 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.6647, allocations: 8 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.6648, allocations: 8 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.6648, allocations: 15.92 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.6649, allocations: 35.86 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.665, allocations: 79.75 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.665, allocations: 0 / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.665, allocations: 0 / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.665, allocations: 0 / 1.211 GB, free: 11.3 MB / 0.9356 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.0006231/0.6657, allocations: 456.3 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.6657, allocations: 8.031 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.6657, allocations: 8.938 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.6659, allocations: 192.1 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6659, allocations: 12.31 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.6659, allocations: 8.375 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.6662, allocations: 117.7 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6663, allocations: 0 / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6663, allocations: 4 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.6663, allocations: 4 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.6666, allocations: 91.86 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.6671, allocations: 328.7 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.6674, allocations: 110.5 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.6676, allocations: 72.94 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.6676, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.6679, allocations: 127.3 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.6679, allocations: 4 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0006712/0.6686, allocations: 275.1 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.6687, allocations: 85.09 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.6687, allocations: 121.8 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.6688, allocations: 29.7 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.6688, allocations: 104 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.6689, allocations: 19.75 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.6689, allocations: 29.7 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.669, allocations: 322.8 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.6692, allocations: 67.95 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.6694, allocations: 59.95 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.6697, allocations: 193.8 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.6697, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004735/0.6702, allocations: 252.9 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.6703, allocations: 63.41 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6703, allocations: 0 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6703, allocations: 4 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6704, allocations: 19.97 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.6704, allocations: 3.938 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.6706, allocations: 23.92 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.6706, allocations: 4 kB / 1.214 GB, free: 7.859 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.0001124/0.6707, allocations: 159.5 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.6707, allocations: 7.906 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.6708, allocations: 12.38 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6708, allocations: 3.984 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6708, allocations: 4 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6708, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.6709, allocations: 197.9 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6709, allocations: 4 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.671, allocations: 11.98 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.671, allocations: 4.031 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6711, allocations: 7.938 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6711, allocations: 0 / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6711, allocations: 0 / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.6715, allocations: 254.5 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.6716, allocations: 85 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.6716, allocations: 8 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.6718, allocations: 19.97 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.6719, allocations: 39.95 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6719, allocations: 8 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.672, allocations: 101.8 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.672, allocations: 0 / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002008/0.6722, allocations: 23.94 kB / 1.215 GB, free: 6.816 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 8.224e-05/0.6723, allocations: 103.2 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.6728, allocations: 262.8 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6728, allocations: 4 kB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.673, allocations: 139.3 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.6732, allocations: 16.14 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.6737, allocations: 244.9 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.6739, allocations: 0.6963 MB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.6739, allocations: 11.44 kB / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of SimCode: time 1.492e-06/0.674, allocations: 0 / 1.216 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.002547/0.6765, allocations: 1.437 MB / 1.217 GB, free: 3.82 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches