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.458/2.458, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001054/0.001055, allocations: 189.6 kB / 0.4902 GB, free: 2.242 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.801/1.801, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.000777/0.000777, allocations: 107.1 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 7.094 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.5153, allocations: 149.5 MB / 1.375 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.5155, allocations: 75.89 kB / 1.375 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002806/0.5183, allocations: 0.9808 MB / 1.376 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5183, allocations: 0 / 1.376 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5184, allocations: 4 kB / 1.376 GB, free: 2.934 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.0003204/0.5187, allocations: 343.2 kB / 1.377 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5187, allocations: 8.562 kB / 1.377 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.5188, allocations: 11.89 kB / 1.377 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.519, allocations: 183 kB / 1.377 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.519, allocations: 4 kB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.5191, allocations: 4 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5192, allocations: 84.17 kB / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.5193, allocations: 0 / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5193, allocations: 0 / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5193, allocations: 4 kB / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.5193, allocations: 27.92 kB / 1.377 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.5199, allocations: 0.6011 MB / 1.377 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.52, allocations: 165.1 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.52, allocations: 83.22 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.5201, allocations: 119.5 kB / 1.378 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.5201, allocations: 0 / 1.378 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.841e-05/0.5202, allocations: 33.69 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5202, allocations: 126.7 kB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.5204, allocations: 143.2 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5204, allocations: 25.7 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.5205, allocations: 96.14 kB / 1.378 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5205, allocations: 3.938 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.5205, allocations: 0 / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5206, allocations: 322.8 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-06/0.5206, allocations: 0 / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.5206, allocations: 7.938 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.5207, allocations: 75.28 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.5207, allocations: 75.28 kB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.463e-05/0.5208, allocations: 41.64 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5208, allocations: 83.27 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/0.5209, allocations: 75.28 kB / 1.379 GB, free: 16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.715e-05/0.5209, allocations: 162.5 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.484e-05/0.521, allocations: 75.28 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.082e-05/0.521, allocations: 158.5 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.5211, allocations: 83.28 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.5212, allocations: 75.28 kB / 1.379 GB, free: 15.45 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: 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.0001478/0.5213, allocations: 272.3 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.5214, allocations: 112.9 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.5215, allocations: 120.6 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.576e-05/0.5215, allocations: 184.2 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.126e-05/0.5216, allocations: 184.3 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/0.5217, allocations: 180.2 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.5219, allocations: 417.2 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.522, allocations: 101 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.522, allocations: 104.9 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.058e-05/0.5221, allocations: 188.2 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.5222, allocations: 180.2 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.095e-05/0.5223, allocations: 180.3 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.639e-05/0.5223, allocations: 184.5 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.5225, allocations: 319.7 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5226, allocations: 194 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.5227, allocations: 176.3 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.5228, allocations: 101 kB / 1.382 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.5229, allocations: 184.2 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5229, allocations: 108.9 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.547e-05/0.523, allocations: 124.8 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.968e-06/0.523, allocations: 0 / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002839/0.5233, allocations: 7.938 kB / 1.383 GB, free: 11.68 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.0001433/0.5235, allocations: 175.3 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.926e-05/0.5235, allocations: 7.938 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5235, allocations: 0 / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.5235, allocations: 0 / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.5239, allocations: 0.5224 MB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.5242, allocations: 209.9 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.5244, allocations: 0.6926 MB / 1.384 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.5245, allocations: 4 kB / 1.384 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.5245, allocations: 7.438 kB / 1.384 GB, free: 10 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.5245, allocations: 4 kB / 1.384 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of Templates: time 0.002547/0.5271, allocations: 399.8 kB / 1.385 GB, free: 9.605 MB / 0.8855 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