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.043/2.043, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009997/0.0009996, allocations: 188.4 kB / 487.4 MB, free: 5.039 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.34/1.34, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009968, allocations: 103.8 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.417e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2324, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7794/1.012, allocations: 148.9 MB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/1.012, allocations: 89.73 kB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005164/1.017, allocations: 1.62 MB / 1.353 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.017, allocations: 0 / 1.353 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.017, allocations: 7.781 kB / 1.353 GB, free: 34.04 MB / 0.8386 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.0006495/1.018, allocations: 476.6 kB / 1.354 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/1.018, allocations: 8.516 kB / 1.354 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/1.018, allocations: 19.53 kB / 1.354 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/1.018, allocations: 196.2 kB / 1.354 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.018, allocations: 2.594 kB / 1.354 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/1.018, allocations: 7.578 kB / 1.354 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001902/1.019, allocations: 83.22 kB / 1.354 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/1.019, allocations: 119.6 kB / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.019, allocations: 0 / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.019, allocations: 7.531 kB / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.019, allocations: 0.5625 kB / 1.354 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/1.02, allocations: 411.6 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/1.02, allocations: 105.7 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/1.02, allocations: 94.16 kB / 1.355 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.02, allocations: 8.5 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/1.02, allocations: 34.5 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/1.02, allocations: 0 / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003052/1.02, allocations: 187.6 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.02, allocations: 84.92 kB / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/1.02, allocations: 119.3 kB / 1.355 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.02, allocations: 37.33 kB / 1.355 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/1.02, allocations: 94.98 kB / 1.355 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/1.02, allocations: 29.08 kB / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/1.02, allocations: 0 / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.02, allocations: 325.6 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/1.021, allocations: 67.72 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/1.021, allocations: 67.09 kB / 1.356 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/1.021, allocations: 27.3 kB / 1.356 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.021, allocations: 0 / 1.356 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002143/1.021, allocations: 181.9 kB / 1.356 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.021, allocations: 37.75 kB / 1.356 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.021, allocations: 7.984 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.021, allocations: 4.641 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/1.021, allocations: 46.67 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.021, allocations: 0.6562 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.021, allocations: 55.72 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.021, allocations: 7.25 kB / 1.356 GB, free: 32.3 MB / 0.8386 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 8.339e-05/1.022, allocations: 147.3 kB / 1.356 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/1.022, allocations: 7.781 kB / 1.356 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/1.022, allocations: 13.48 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.022, allocations: 0 / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.022, allocations: 7.812 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.022, allocations: 0.5625 kB / 1.356 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/1.022, allocations: 195 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.022, allocations: 0 / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/1.022, allocations: 50.5 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.022, allocations: 4.625 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.022, allocations: 0 / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.022, allocations: 0 / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.022, allocations: 0.6094 kB / 1.356 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/1.022, allocations: 295 kB / 1.357 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/1.022, allocations: 85.61 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/1.022, allocations: 4.406 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/1.023, allocations: 52.55 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.023, allocations: 83.3 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/1.023, allocations: 3.906 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.697e-05/1.023, allocations: 107.5 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.023, allocations: 0 / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002176/1.023, allocations: 23.38 kB / 1.357 GB, free: 31.65 MB / 0.8386 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.0001027/1.023, allocations: 104.3 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002461/1.024, allocations: 224 kB / 1.357 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/1.024, allocations: 0 / 1.357 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/1.024, allocations: 160.6 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/1.024, allocations: 18.64 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/1.024, allocations: 274.2 kB / 1.358 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.025, allocations: 0.7047 MB / 1.358 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.118e-05/1.025, allocations: 13.78 kB / 1.358 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/1.025, allocations: 11.25 kB / 1.358 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.025, allocations: 0 / 1.358 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.003782/1.028, allocations: 1.983 MB / 1.36 GB, free: 30.48 MB / 0.8386 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