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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.463/2.463, allocations: 390.5 MB / 398 MB, free: 10.95 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.001321/0.001321, allocations: 184.8 kB / 491.2 MB, free: 1.551 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.61/1.61, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.0009989/0.0009987, allocations: 99.69 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.291e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3442, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.443, allocations: 148.8 MB / 1.358 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/1.444, allocations: 67.58 kB / 1.358 GB, free: 17.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003313/1.447, allocations: 0.9828 MB / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/1.447, allocations: 0 / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.23e-05/1.447, allocations: 0.8438 kB / 1.359 GB, free: 33.09 MB / 0.8386 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.000273/1.447, allocations: 329.7 kB / 1.359 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.447, allocations: 15.47 kB / 1.359 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/1.447, allocations: 9.25 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.448, allocations: 185.8 kB / 1.359 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/1.448, allocations: 3.938 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.448, allocations: 3.812 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.919e-05/1.448, allocations: 21.27 kB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.322e-05/1.448, allocations: 73.27 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/1.448, allocations: 0 / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.448, allocations: 4 kB / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.448, allocations: 0 / 1.359 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/1.448, allocations: 0.5585 MB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/1.448, allocations: 173 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/1.448, allocations: 80.14 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/1.448, allocations: 79.27 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.449, allocations: 113.9 kB / 1.36 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.449, allocations: 0 / 1.36 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.441e-05/1.449, allocations: 41.38 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/1.449, allocations: 52.48 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/1.449, allocations: 107.4 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/1.449, allocations: 29.58 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/1.449, allocations: 93.86 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/1.449, allocations: 0 / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-07/1.449, allocations: 0 / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/1.449, allocations: 315.1 kB / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/1.449, allocations: 4 kB / 1.361 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/1.449, allocations: 3.844 kB / 1.361 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/1.449, allocations: 76.88 kB / 1.361 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/1.449, allocations: 78.91 kB / 1.361 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.734e-05/1.449, allocations: 33.48 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/1.449, allocations: 79.12 kB / 1.361 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.449, allocations: 76.45 kB / 1.361 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.339e-05/1.449, allocations: 154.8 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.922e-05/1.449, allocations: 88.52 kB / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.105e-05/1.449, allocations: 153.8 kB / 1.362 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/1.449, allocations: 76.27 kB / 1.362 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/1.449, allocations: 87 kB / 1.362 GB, free: 29.95 MB / 0.8386 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 0.0001111/1.45, allocations: 252.4 kB / 1.362 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/1.45, allocations: 114.6 kB / 1.362 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/1.45, allocations: 117.8 kB / 1.362 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.23e-05/1.45, allocations: 185.6 kB / 1.362 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.505e-05/1.45, allocations: 184.1 kB / 1.363 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.179e-05/1.45, allocations: 177.5 kB / 1.363 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.45, allocations: 400.9 kB / 1.363 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/1.45, allocations: 101 kB / 1.363 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/1.45, allocations: 102.2 kB / 1.363 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.037e-05/1.45, allocations: 185.7 kB / 1.363 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/1.45, allocations: 176.3 kB / 1.364 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.215e-05/1.45, allocations: 178 kB / 1.364 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.096e-05/1.45, allocations: 184.2 kB / 1.364 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/1.451, allocations: 313.8 kB / 1.364 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/1.451, allocations: 183.8 kB / 1.364 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/1.451, allocations: 176.3 kB / 1.365 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/1.451, allocations: 106.5 kB / 1.365 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/1.451, allocations: 187.2 kB / 1.365 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/1.451, allocations: 106.6 kB / 1.365 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.333e-05/1.451, allocations: 87.56 kB / 1.365 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.451, allocations: 0 / 1.365 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002527/1.451, allocations: 3.812 kB / 1.365 GB, free: 26.38 MB / 0.8386 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 0.0001543/1.451, allocations: 175.5 kB / 1.365 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.927e-05/1.451, allocations: 8.391 kB / 1.365 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.451, allocations: 3.625 kB / 1.365 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/1.452, allocations: 0 / 1.365 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/1.452, allocations: 0.525 MB / 1.366 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/1.452, allocations: 147.4 kB / 1.366 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/1.452, allocations: 0.6945 MB / 1.367 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.85e-05/1.452, allocations: 9.359 kB / 1.367 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/1.453, allocations: 7.719 kB / 1.367 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.453, allocations: 0 / 1.367 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.002021/1.455, allocations: 254.1 kB / 1.367 GB, free: 24.78 MB / 0.8386 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