Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.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.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booFil.u.1.|booFil.u.2.|booFil.u.3.|booFil.y.1.|booFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001304/0.001304, allocations: 175.3 kB / 498.1 MB, free: 5.695 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.795/1.795, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.001021/0.001021, allocations: 88.23 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004069, allocations: 10.09 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2089/0.5373, allocations: 148.7 MB / 1.368 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5376, allocations: 67.95 kB / 1.368 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0028/0.5404, allocations: 0.9909 MB / 1.369 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5404, allocations: 0 / 1.369 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.5405, allocations: 0 / 1.369 GB, free: 3.613 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002949/0.5408, allocations: 343.2 kB / 1.369 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5408, allocations: 16.03 kB / 1.369 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.5409, allocations: 3.906 kB / 1.369 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.5411, allocations: 186.9 kB / 1.37 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5411, allocations: 4 kB / 1.37 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.5411, allocations: 4 kB / 1.37 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.5413, allocations: 80.19 kB / 1.37 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5413, allocations: 3.938 kB / 1.37 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5413, allocations: 3.984 kB / 1.37 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5413, allocations: 4 kB / 1.37 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.5414, allocations: 35.91 kB / 1.37 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.5419, allocations: 0.5895 MB / 1.37 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.542, allocations: 173.1 kB / 1.371 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.542, allocations: 75.28 kB / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.5421, allocations: 117.8 kB / 1.371 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5421, allocations: 0 / 1.371 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.739e-05/0.5422, allocations: 37.55 kB / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.5423, allocations: 130.7 kB / 1.371 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5424, allocations: 142.9 kB / 1.371 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5425, allocations: 25.7 kB / 1.371 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.5425, allocations: 100.1 kB / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.5425, allocations: 0 / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.5425, allocations: 0 / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5426, allocations: 310.8 kB / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.5427, allocations: 0 / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.5427, allocations: 8 kB / 1.371 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.5427, allocations: 83.27 kB / 1.372 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.5428, allocations: 75.28 kB / 1.372 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.07e-05/0.5428, allocations: 41.55 kB / 1.372 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.5429, allocations: 79.28 kB / 1.372 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.5429, allocations: 79.22 kB / 1.372 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.988e-05/0.543, allocations: 158.5 kB / 1.372 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.635e-05/0.543, allocations: 87.25 kB / 1.372 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.978e-05/0.5431, allocations: 150.6 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.5432, allocations: 83.2 kB / 1.372 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.5432, allocations: 79.28 kB / 1.372 GB, free: 120 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000153/0.5434, allocations: 268.4 kB / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.5434, allocations: 109 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.5435, allocations: 120.6 kB / 1.373 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-05/0.5436, allocations: 180.2 kB / 1.373 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.67e-05/0.5436, allocations: 184.2 kB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.717e-05/0.5437, allocations: 176.3 kB / 1.373 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.5439, allocations: 421.2 kB / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/0.544, allocations: 108.9 kB / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.544, allocations: 101 kB / 1.374 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.523e-05/0.5441, allocations: 180.2 kB / 1.374 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.5442, allocations: 180.3 kB / 1.374 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.8e-05/0.5442, allocations: 180.3 kB / 1.374 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-05/0.5443, allocations: 188.5 kB / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.5444, allocations: 319.6 kB / 1.375 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.5445, allocations: 190 kB / 1.375 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.5446, allocations: 184.2 kB / 1.375 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.5447, allocations: 104.9 kB / 1.375 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.5448, allocations: 180.3 kB / 1.376 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.5449, allocations: 108.9 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.268e-05/0.545, allocations: 125.1 kB / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 0 / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002548/0.5452, allocations: 4 kB / 1.376 GB, free: 12.36 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001513/0.5454, allocations: 180.4 kB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.821e-05/0.5454, allocations: 8 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5454, allocations: 0 / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.5455, allocations: 0 / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.5458, allocations: 0.5239 MB / 1.376 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.5461, allocations: 214.2 kB / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.5464, allocations: 0.6887 MB / 1.377 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.5464, allocations: 4 kB / 1.377 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.5464, allocations: 7.438 kB / 1.377 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5465, allocations: 0 / 1.377 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of Templates: time 0.002229/0.5487, allocations: 402.6 kB / 1.378 GB, free: 10.29 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches