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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001072/0.001072, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 177 kB / 16.92 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8034, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001895/0.8054, allocations: 1.2 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.8063, allocations: 467 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.8064, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.782e-05/0.8065, allocations: 3.938 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.8066, allocations: 7.922 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.8068, allocations: 35.89 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.8069, allocations: 83.77 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.8071, allocations: 20.17 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.8072, allocations: 39.84 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.8073, allocations: 43.81 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.8074, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.8074, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.8074, allocations: 7.938 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.8075, allocations: 61.55 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.8076, allocations: 51.89 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8076, allocations: 4 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.145e-06/0.8077, allocations: 4 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.8077, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.7794 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.0007427/0.8084, allocations: 444.5 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8085, allocations: 8.031 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.8085, allocations: 8.938 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.8088, allocations: 196.1 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.8088, allocations: 12.31 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.8088, allocations: 4.375 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.8092, allocations: 117.8 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8092, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.8092, allocations: 11.98 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8092, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.8096, allocations: 99.92 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.8102, allocations: 348.7 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.8106, allocations: 126.4 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.8108, allocations: 76.94 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.8108, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.8112, allocations: 131.3 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.8112, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007922/0.812, allocations: 307.1 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.8121, allocations: 81.11 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.8122, allocations: 129.8 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.8123, allocations: 29.7 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.8123, allocations: 96.05 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.8124, allocations: 19.8 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.8124, allocations: 17.72 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8126, allocations: 322.8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.8128, allocations: 71.95 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.813, allocations: 75.95 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.8134, allocations: 201.8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8134, allocations: 96 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005452/0.8139, allocations: 276.8 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.814, allocations: 67.39 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.814, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.814, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.8142, allocations: 19.98 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.8142, allocations: 3.938 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.8144, allocations: 39.91 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.8144, allocations: 4 kB / 1.029 GB, free: 10.23 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.0001223/0.8146, allocations: 151.5 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.8146, allocations: 11.91 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.8146, allocations: 12.36 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8146, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8146, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8147, allocations: 4 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8148, allocations: 197.5 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8148, allocations: 4 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.984e-05/0.8149, allocations: 15.98 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.815, allocations: 0 / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.815, allocations: 4 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.815, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.815, allocations: 160 / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.8156, allocations: 270.8 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.8156, allocations: 81.08 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.8156, allocations: 15.98 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.8158, allocations: 23.98 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.816, allocations: 35.95 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.816, allocations: 8 kB / 1.03 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.54e-05/0.8161, allocations: 97.66 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8161, allocations: 0 / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002205/0.8163, allocations: 31.92 kB / 1.03 GB, free: 9.172 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.000131/0.8164, allocations: 111.2 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005533/0.817, allocations: 282.6 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.817, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.8173, allocations: 143.4 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.8175, allocations: 17.53 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.8181, allocations: 270.9 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8184, allocations: 0.6887 MB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.8185, allocations: 11.44 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8185, allocations: 0 / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of Templates: time 0.003602/0.8221, allocations: 1.422 MB / 1.033 GB, free: 6.148 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches