Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.678/1.678, allocations: 390.4 MB / 397.7 MB, free: 1.91 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 175 kB / 490.8 MB, free: 7.52 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.04/1.04, allocations: 221.3 MB / 0.7863 GB, free: 348 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 94.22 kB / 0.9264 GB, free: 0.7266 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.781e-06, allocations: 0 / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1683, allocations: 143 MB / 1.212 GB, free: 10.6 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.6149, allocations: 148.7 MB / 1.357 GB, free: 13.41 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001589/0.6151, allocations: 59.97 kB / 1.357 GB, free: 13.35 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.002155/0.6173, allocations: 0.6843 MB / 1.358 GB, free: 12.68 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6173, allocations: 0 / 1.358 GB, free: 12.68 MB / 0.8311 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.000202/0.6175, allocations: 330.5 kB / 1.358 GB, free: 12.31 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.6175, allocations: 8.969 kB / 1.358 GB, free: 12.3 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.6176, allocations: 7.906 kB / 1.358 GB, free: 12.29 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.6177, allocations: 175.7 kB / 1.358 GB, free: 12.08 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.6177, allocations: 0 / 1.358 GB, free: 12.08 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.6178, allocations: 7.938 kB / 1.358 GB, free: 12.07 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.089e-05/0.6178, allocations: 27.92 kB / 1.358 GB, free: 12.05 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.6179, allocations: 80.09 kB / 1.358 GB, free: 11.95 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6179, allocations: 0 / 1.358 GB, free: 11.95 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.6179, allocations: 4 kB / 1.358 GB, free: 11.95 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.6179, allocations: 0 / 1.358 GB, free: 11.95 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.6183, allocations: 0.5667 MB / 1.359 GB, free: 11.34 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 5.73e-05/0.6183, allocations: 165.1 kB / 1.359 GB, free: 11.16 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.6184, allocations: 84.08 kB / 1.359 GB, free: 11.08 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.6184, allocations: 79.28 kB / 1.359 GB, free: 11 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.6184, allocations: 109.8 kB / 1.359 GB, free: 10.88 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.6184, allocations: 0 / 1.359 GB, free: 10.88 MB / 0.8311 GB Notification: Performance of matching and sorting (n=0): time 6.866e-05/0.6185, allocations: 33.59 kB / 1.359 GB, free: 10.84 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.6185, allocations: 55.39 kB / 1.359 GB, free: 10.78 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.6186, allocations: 113.2 kB / 1.359 GB, free: 10.66 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.6186, allocations: 25.7 kB / 1.359 GB, free: 10.62 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.6187, allocations: 96.05 kB / 1.359 GB, free: 10.53 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-07/0.6187, allocations: 0 / 1.359 GB, free: 10.53 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.6187, allocations: 0 / 1.359 GB, free: 10.53 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.6188, allocations: 314.8 kB / 1.36 GB, free: 10.21 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-06/0.6188, allocations: 0 / 1.36 GB, free: 10.21 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.6188, allocations: 15.92 kB / 1.36 GB, free: 10.2 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.6188, allocations: 75.28 kB / 1.36 GB, free: 10.12 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.296e-05/0.6189, allocations: 75.28 kB / 1.36 GB, free: 10.05 MB / 0.8311 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.991e-05/0.6189, allocations: 33.73 kB / 1.36 GB, free: 10.01 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.6189, allocations: 4 kB / 1.36 GB, free: 10 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.6189, allocations: 75.28 kB / 1.36 GB, free: 9.93 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-05/0.619, allocations: 158.5 kB / 1.36 GB, free: 9.773 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.705e-05/0.619, allocations: 75.28 kB / 1.36 GB, free: 9.699 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.206e-05/0.6191, allocations: 154.5 kB / 1.36 GB, free: 9.547 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.6191, allocations: 83.12 kB / 1.36 GB, free: 9.465 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.6192, allocations: 83.28 kB / 1.361 GB, free: 9.383 MB / 0.8311 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 () * 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 7.803e-05/0.6193, allocations: 251.5 kB / 1.361 GB, free: 9.129 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.6193, allocations: 101 kB / 1.361 GB, free: 9.023 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.6194, allocations: 132.9 kB / 1.361 GB, free: 8.891 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/0.6194, allocations: 180.2 kB / 1.361 GB, free: 8.707 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/0.6195, allocations: 188.3 kB / 1.361 GB, free: 8.516 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.812e-05/0.6195, allocations: 180.2 kB / 1.361 GB, free: 8.332 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.6197, allocations: 395 kB / 1.362 GB, free: 7.902 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.6197, allocations: 109 kB / 1.362 GB, free: 7.789 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.6198, allocations: 104.9 kB / 1.362 GB, free: 7.68 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-05/0.6198, allocations: 184.3 kB / 1.362 GB, free: 7.492 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.6199, allocations: 176.3 kB / 1.362 GB, free: 7.312 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-05/0.6199, allocations: 180.2 kB / 1.363 GB, free: 7.129 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.73e-05/0.62, allocations: 176.3 kB / 1.363 GB, free: 6.949 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.58e-05/0.6201, allocations: 312 kB / 1.363 GB, free: 6.621 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.6201, allocations: 190 kB / 1.363 GB, free: 6.41 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.6202, allocations: 176.3 kB / 1.363 GB, free: 6.23 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.168e-05/0.6203, allocations: 112.9 kB / 1.364 GB, free: 6.113 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.6203, allocations: 176.3 kB / 1.364 GB, free: 5.934 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.6203, allocations: 105 kB / 1.364 GB, free: 5.824 MB / 0.8311 GB Notification: Performance of sort global known variables: time 4.422e-05/0.6204, allocations: 91.27 kB / 1.364 GB, free: 5.734 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0002123/0.6206, allocations: 8 kB / 1.364 GB, free: 5.727 MB / 0.8311 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 () * 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 9.184e-05/0.6207, allocations: 174.5 kB / 1.364 GB, free: 5.547 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 2.761e-05/0.6207, allocations: 4 kB / 1.364 GB, free: 5.543 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.6207, allocations: 0 / 1.364 GB, free: 5.543 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.6208, allocations: 4 kB / 1.364 GB, free: 5.539 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.621, allocations: 0.5223 MB / 1.365 GB, free: 5.012 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001693/0.6212, allocations: 155.1 kB / 1.365 GB, free: 4.836 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.6214, allocations: 0.6996 MB / 1.365 GB, free: 4.109 MB / 0.8311 GB Notification: Performance of SimCode: time 2.2e-07/0.6214, allocations: 0 / 1.365 GB, free: 4.109 MB / 0.8311 GB Notification: Performance of Templates: time 0.001447/0.6228, allocations: 259.5 kB / 1.366 GB, free: 3.859 MB / 0.8311 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches