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.49/1.49, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001002, allocations: 184.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009753/0.0009754, allocations: 86.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.063e-05, allocations: 8 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1979, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7008/0.8988, allocations: 131.5 MB / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.8991, allocations: 71.16 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004907/0.904, allocations: 1.663 MB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.904, allocations: 0 / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.904, allocations: 0 / 1.022 GB, free: 1.668 MB / 0.6355 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.000724/0.9048, allocations: 471.3 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9048, allocations: 10.77 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.9049, allocations: 15.59 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.9052, allocations: 197.7 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.9052, allocations: 7.375 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.9053, allocations: 4 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.9055, allocations: 134.1 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9056, allocations: 4 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.9056, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.9056, allocations: 4 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.9058, allocations: 96.78 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.9066, allocations: 436.4 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.9068, allocations: 117.5 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.9069, allocations: 95.16 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.9069, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.907, allocations: 34.56 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.907, allocations: 3.938 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.00041/0.9074, allocations: 224.6 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.9075, allocations: 92.94 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.9076, allocations: 131 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.9076, allocations: 25.7 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.9077, allocations: 105 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.9077, allocations: 18.31 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.9077, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9078, allocations: 318.4 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.9079, allocations: 71.98 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.908, allocations: 77.09 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.9081, allocations: 60.12 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9081, allocations: 0 / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002884/0.9084, allocations: 224.6 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.9085, allocations: 37.25 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9085, allocations: 0 / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.9085, allocations: 4 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.9088, allocations: 51.89 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.9088, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.909, allocations: 63.16 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.909, allocations: 112 / 1.025 GB, free: 14.7 MB / 0.6511 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 () * 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 9.332e-05/0.9091, allocations: 149.4 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.9092, allocations: 11.91 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.9092, allocations: 10.25 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9092, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9093, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.9093, allocations: 3.984 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.9095, allocations: 211 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9095, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.9097, allocations: 51.52 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9097, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.9098, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.9098, allocations: 11.98 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9098, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.9101, allocations: 325.1 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.9102, allocations: 92.91 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.9102, allocations: 256 / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.9105, allocations: 59.08 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.9107, allocations: 83.08 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.9107, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.735e-05/0.9108, allocations: 110.2 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9108, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002132/0.911, allocations: 31.94 kB / 1.026 GB, free: 13.57 MB / 0.6511 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) * 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.0001336/0.9111, allocations: 102.8 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.9114, allocations: 231.5 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9114, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.9116, allocations: 170 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.9119, allocations: 15.27 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.9123, allocations: 282.4 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.9126, allocations: 0.7004 MB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.9127, allocations: 12.17 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.9128, allocations: 15.44 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.9128, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.00463/0.9174, allocations: 2.183 MB / 1.03 GB, free: 9.977 MB / 0.6511 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