Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.5.|numReq1.u.4.|numReq1.u.3.|numReq1.u.2.|numReq1.u.1.|numReq1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numReq1.u.5.|numReq1.u.4.|numReq1.u.3.|numReq1.u.2.|numReq1.u.1.|numReq1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 175.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008848/0.0008849, allocations: 86.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004121, allocations: 10.78 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.4085, allocations: 131.6 MB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.4089, allocations: 71.95 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005673/0.4146, allocations: 1.661 MB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.594e-06/0.4146, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.4146, allocations: 4 kB / 1.03 GB, free: 10.41 MB / 0.6823 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.0008394/0.4155, allocations: 492.5 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4156, allocations: 8.031 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.4156, allocations: 11.91 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.4159, allocations: 208.3 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4159, allocations: 8 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4159, allocations: 4 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.4165, allocations: 213.5 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4165, allocations: 0 / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.4166, allocations: 8 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4166, allocations: 0 / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.4173, allocations: 259.8 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.4182, allocations: 436.5 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.4187, allocations: 194.5 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.4187, allocations: 0 / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4187, allocations: 34.55 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4187, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001356/0.4201, allocations: 0.542 MB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4202, allocations: 85.06 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4203, allocations: 128.9 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4203, allocations: 29.7 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.4204, allocations: 104 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.4204, allocations: 19.8 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.4205, allocations: 4 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4206, allocations: 322.8 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.421, allocations: 151.9 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.4214, allocations: 159.8 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4218, allocations: 141.6 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4218, allocations: 4 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008574/0.4227, allocations: 395.4 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.4227, allocations: 40.52 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4227, allocations: 112 / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4228, allocations: 7.922 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.423, allocations: 56 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.423, allocations: 4 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.4233, allocations: 63.75 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.4233, allocations: 8 kB / 1.034 GB, free: 6.094 MB / 0.6823 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.0001348/0.4234, allocations: 147.5 kB / 1.034 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.4235, allocations: 11.91 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.4235, allocations: 12.72 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4235, allocations: 8 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4236, allocations: 0 / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4236, allocations: 3.984 kB / 1.034 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4238, allocations: 205.5 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4238, allocations: 0 / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.424, allocations: 55.89 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.424, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.4241, allocations: 4 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.4241, allocations: 7.984 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4241, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.4251, allocations: 492.9 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.4251, allocations: 85.02 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4252, allocations: 4 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4254, allocations: 59.94 kB / 1.035 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.4257, allocations: 75.91 kB / 1.035 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.4257, allocations: 7.984 kB / 1.035 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.4258, allocations: 103.3 kB / 1.035 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4258, allocations: 0 / 1.035 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002362/0.426, allocations: 28 kB / 1.036 GB, free: 4.703 MB / 0.6823 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.00019/0.4262, allocations: 107.2 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.4271, allocations: 399.2 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4271, allocations: 0 / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.4276, allocations: 247.3 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.4279, allocations: 27.88 kB / 1.036 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.4285, allocations: 372.9 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4288, allocations: 0.7053 MB / 1.037 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.229e-05/0.4289, allocations: 16.16 kB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.429, allocations: 11.44 kB / 1.037 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/0.429, allocations: 0 / 1.037 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.004984/0.434, allocations: 2.154 MB / 1.039 GB, free: 0.6211 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches