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.001438/0.001438, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001651/0.001651, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2793, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests): time 0.002084/0.2814, allocations: 0.8334 MB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.2825, allocations: 0.8585 MB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.2825, allocations: 4 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.094e-05/0.2826, allocations: 7.875 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.2827, allocations: 19.8 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.2828, allocations: 35.95 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.283, allocations: 131.6 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2831, allocations: 27.98 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.2832, allocations: 59.81 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.2833, allocations: 55.88 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.2834, allocations: 12 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.2834, allocations: 12 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.2835, allocations: 19.86 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.2835, allocations: 55.72 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2837, allocations: 135.5 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2837, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2837, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2837, allocations: 0 / 1.029 GB, free: 15.77 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.0007682/0.2845, allocations: 476.7 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2845, allocations: 12.03 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.2846, allocations: 16.78 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2848, allocations: 197.4 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2848, allocations: 8.375 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.2848, allocations: 8.375 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.2853, allocations: 186.1 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2854, allocations: 4.188 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2854, allocations: 7.938 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2854, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.2861, allocations: 207.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.2868, allocations: 404.5 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.2873, allocations: 174.3 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.2877, allocations: 148.9 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2877, allocations: 15.97 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.2877, allocations: 34.56 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2877, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.001313/0.289, allocations: 459 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.2891, allocations: 85.11 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2893, allocations: 144.1 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.2893, allocations: 29.81 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.2894, allocations: 111.9 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.2894, allocations: 19.81 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.2895, allocations: 25.66 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2897, allocations: 322.8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.2901, allocations: 127.9 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.2905, allocations: 127.9 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.2911, allocations: 236.1 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2912, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008409/0.292, allocations: 343.5 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.2921, allocations: 37.69 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2921, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2921, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2923, allocations: 47.89 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2923, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.2925, allocations: 35.89 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2926, allocations: 4 kB / 1.033 GB, free: 11.52 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.0001213/0.2927, allocations: 163.4 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.2927, allocations: 11.81 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.2928, allocations: 24.7 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2928, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2928, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2928, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.293, allocations: 205.5 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.293, allocations: 7.984 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2932, allocations: 31.95 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2933, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2933, allocations: 4 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2933, allocations: 4 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2933, allocations: 0 / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.2942, allocations: 448.8 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.2942, allocations: 81.02 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.2943, allocations: 4 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.2945, allocations: 39.94 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.2947, allocations: 83.84 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2948, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.2948, allocations: 113.7 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2949, allocations: 3.938 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000263/0.2951, allocations: 28 kB / 1.034 GB, free: 10.18 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.0001317/0.2953, allocations: 99.25 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008237/0.2961, allocations: 355 kB / 1.034 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2961, allocations: 0 / 1.034 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.2966, allocations: 223.5 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2969, allocations: 24.11 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.2975, allocations: 345.9 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2977, allocations: 0.7002 MB / 1.036 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.2978, allocations: 11.97 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.2978, allocations: 19.44 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2978, allocations: 0 / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of Templates: time 0.00615/0.304, allocations: 2.929 MB / 1.039 GB, free: 5.445 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 gbode -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