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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001082/0.001082, allocations: 187.9 kB / 0.4902 GB, free: 2.258 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.498/1.498, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 106.9 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 8.281 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.5229, allocations: 150.4 MB / 1.376 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5231, allocations: 87.94 kB / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004901/0.5281, allocations: 1.626 MB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5281, allocations: 0 / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5281, allocations: 0 / 1.378 GB, free: 1.387 MB / 0.8698 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.0007395/0.5288, allocations: 497.4 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5289, allocations: 12.52 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.529, allocations: 11.89 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.5292, allocations: 202.8 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5292, allocations: 4 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.5292, allocations: 12 kB / 1.379 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.5298, allocations: 217.5 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5298, allocations: 3.938 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5298, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5298, allocations: 4 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.5306, allocations: 263.8 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.5314, allocations: 432.5 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5319, allocations: 198.4 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5319, allocations: 4 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5319, allocations: 34.56 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.532, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.001359/0.5333, allocations: 0.5303 MB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.5334, allocations: 93.05 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.5335, allocations: 131.8 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.5335, allocations: 29.7 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.5336, allocations: 104 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.5336, allocations: 15.81 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.5336, allocations: 0 / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5338, allocations: 326.8 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.5342, allocations: 155.9 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.5346, allocations: 151.9 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.5349, allocations: 137.6 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.535, allocations: 0 / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008779/0.5358, allocations: 403 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.5359, allocations: 37.69 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5359, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5359, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.5362, allocations: 56 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5362, allocations: 7.891 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.5364, allocations: 59.89 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5365, allocations: 4 kB / 1.382 GB, free: 13.07 MB / 0.8855 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.0001171/0.5366, allocations: 155.5 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.5366, allocations: 7.906 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.5367, allocations: 16.7 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5367, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5367, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5367, allocations: 3.953 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.5369, allocations: 209.6 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5369, allocations: 8 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.5371, allocations: 47.94 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5372, allocations: 0 / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5372, allocations: 4.438 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5372, allocations: 0 / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5372, allocations: 8 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009184/0.5381, allocations: 496.8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.5382, allocations: 84.92 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.5382, allocations: 8 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.5385, allocations: 55.94 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.5387, allocations: 83.89 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.5387, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.758e-05/0.5388, allocations: 113.4 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5388, allocations: 0 / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002281/0.539, allocations: 28 kB / 1.383 GB, free: 11.66 MB / 0.8855 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.0001214/0.5391, allocations: 104 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.5401, allocations: 403.1 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5401, allocations: 3.938 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.5406, allocations: 251.3 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.5408, allocations: 18.33 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.5414, allocations: 370.8 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.5417, allocations: 0.7004 MB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.204e-05/0.5418, allocations: 20.16 kB / 1.385 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.5418, allocations: 11.44 kB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5418, allocations: 0 / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of Templates: time 0.004439/0.5463, allocations: 2.157 MB / 1.387 GB, free: 7.59 MB / 0.8855 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 -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","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches