Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.1.|numReq1.u.2.|numReq1.u.3.|numReq1.u.4.|numReq1.u.5.|numReq1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.1.|numReq1.u.2.|numReq1.u.3.|numReq1.u.4.|numReq1.u.5.|numReq1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 175.3 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 0.7948 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009626, allocations: 102.7 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 14.09 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.5055, allocations: 149.6 MB / 1.369 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.5058, allocations: 83.94 kB / 1.369 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004945/0.5108, allocations: 1.645 MB / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5108, allocations: 0 / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.5108, allocations: 0 / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008212/0.5116, allocations: 494.6 kB / 1.371 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.5117, allocations: 16.02 kB / 1.371 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.5118, allocations: 11.81 kB / 1.371 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.512, allocations: 202.8 kB / 1.371 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.512, allocations: 4 kB / 1.371 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.5121, allocations: 12 kB / 1.371 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.5126, allocations: 205.5 kB / 1.372 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.5126, allocations: 0 / 1.372 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5127, allocations: 7.984 kB / 1.372 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5127, allocations: 0 / 1.372 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.5134, allocations: 259.8 kB / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/0.5143, allocations: 432.5 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.5148, allocations: 198.5 kB / 1.372 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.5148, allocations: 128 / 1.372 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5149, allocations: 38.56 kB / 1.372 GB, free: 28 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.5149, allocations: 0 / 1.372 GB, free: 28 kB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.00139/0.5163, allocations: 0.5418 MB / 1.373 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.5163, allocations: 85.11 kB / 1.373 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5164, allocations: 127.7 kB / 1.373 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.5165, allocations: 29.7 kB / 1.373 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.5165, allocations: 100.1 kB / 1.373 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.5166, allocations: 23.66 kB / 1.373 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.5166, allocations: 8 kB / 1.373 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5168, allocations: 318.8 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.5172, allocations: 159.9 kB / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.5176, allocations: 151.9 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.5179, allocations: 141.6 kB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.5179, allocations: 3.984 kB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009083/0.5189, allocations: 395 kB / 1.374 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.5189, allocations: 37.69 kB / 1.375 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5189, allocations: 0 / 1.375 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5189, allocations: 3.984 kB / 1.375 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.5192, allocations: 51.95 kB / 1.375 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5192, allocations: 3.953 kB / 1.375 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5195, allocations: 55.95 kB / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.5195, allocations: 4 kB / 1.375 GB, free: 13.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.5196, allocations: 155.3 kB / 1.375 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.5197, allocations: 11.91 kB / 1.375 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.5197, allocations: 21.14 kB / 1.375 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5197, allocations: 0 / 1.375 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5197, allocations: 112 / 1.375 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5198, allocations: 7.891 kB / 1.375 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.52, allocations: 209.5 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.52, allocations: 0 / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5202, allocations: 59.94 kB / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5202, allocations: 0 / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.5203, allocations: 4 kB / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5203, allocations: 3.938 kB / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5203, allocations: 0 / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.5212, allocations: 496.9 kB / 1.376 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.5213, allocations: 81.02 kB / 1.376 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.5213, allocations: 8 kB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.5216, allocations: 55.94 kB / 1.376 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.5218, allocations: 79.89 kB / 1.376 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5218, allocations: 4 kB / 1.376 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.5219, allocations: 106.1 kB / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5219, allocations: 0 / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002351/0.5222, allocations: 31.94 kB / 1.376 GB, free: 12.32 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (numReq1.y) * Number of discrete states: 1 (numReq1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.5223, allocations: 107.2 kB / 1.376 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009631/0.5233, allocations: 399.1 kB / 1.376 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5233, allocations: 0 / 1.376 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.5238, allocations: 251.3 kB / 1.377 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.524, allocations: 23.89 kB / 1.377 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.5247, allocations: 365.1 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.525, allocations: 0.7058 MB / 1.378 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.5251, allocations: 16.11 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.5252, allocations: 7.438 kB / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of SimCode: time 2e-07/0.5252, allocations: 4 kB / 1.378 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of Templates: time 0.004661/0.5298, allocations: 2.153 MB / 1.38 GB, free: 8.246 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches