Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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_latest_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_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 113.4 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 72.59 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2832, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.002021/0.2853, allocations: 0.8294 MB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.2862, allocations: 0.8585 MB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.2863, allocations: 4 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.109e-05/0.2864, allocations: 11.86 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.2864, allocations: 15.8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.2865, allocations: 39.94 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2867, allocations: 127.7 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2868, allocations: 27.98 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.2869, allocations: 59.77 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.287, allocations: 55.89 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2871, allocations: 12 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.2871, allocations: 12 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.2872, allocations: 27.81 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.2872, allocations: 55.73 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2874, allocations: 127.5 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2874, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2874, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2874, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 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.0007898/0.2882, allocations: 480.7 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2883, allocations: 8.031 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.2883, allocations: 16.78 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.2885, allocations: 208.9 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2886, allocations: 4.375 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.2886, allocations: 4.375 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.2891, allocations: 190.1 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2891, allocations: 4.188 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2891, allocations: 11.94 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2891, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.2898, allocations: 203.8 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.2905, allocations: 404.5 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.2909, allocations: 162.5 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.2913, allocations: 160.9 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2913, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2913, allocations: 34.56 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2913, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001236/0.2926, allocations: 466.9 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.2926, allocations: 89.11 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2928, allocations: 141.5 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2928, allocations: 29.81 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.2929, allocations: 111.9 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2929, allocations: 19.8 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.293, allocations: 21.72 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2932, allocations: 326.8 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.2935, allocations: 131.9 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.2939, allocations: 119.9 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.2945, allocations: 248 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2945, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007869/0.2953, allocations: 335.1 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.2954, allocations: 33.7 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2954, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2954, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.2957, allocations: 35.95 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2957, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2959, allocations: 43.88 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2959, allocations: 4.438 kB / 1.033 GB, free: 11.51 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.296, allocations: 163.4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2961, allocations: 19.8 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.2961, allocations: 12.72 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2961, allocations: 7.938 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2962, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2962, allocations: 4 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2964, allocations: 209.5 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2964, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2966, allocations: 39.95 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2966, allocations: 0 / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2966, allocations: 4 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2966, allocations: 0 / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2966, allocations: 4 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.2975, allocations: 436.9 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.2975, allocations: 85.02 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.2976, allocations: 3.984 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2978, allocations: 43.95 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.298, allocations: 75.91 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2981, allocations: 7.938 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.2982, allocations: 113.1 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2982, allocations: 3.938 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002622/0.2984, allocations: 24 kB / 1.034 GB, free: 10.17 MB / 0.8106 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 (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.0001385/0.2986, allocations: 103.2 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008332/0.2994, allocations: 351.1 kB / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2994, allocations: 0 / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.2999, allocations: 227.2 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.3002, allocations: 20 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.3008, allocations: 345.9 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.301, allocations: 0.7041 MB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.3011, allocations: 15.97 kB / 1.036 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.3012, allocations: 15.44 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3012, allocations: 0 / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.005973/0.3071, allocations: 2.921 MB / 1.039 GB, free: 5.434 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches