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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009603/0.0009602, allocations: 96.41 kB / 15.05 MB, free: 1.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009756/0.0009757, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8687, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001056/0.8698, allocations: 332.2 kB / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004412/0.8703, allocations: 115.6 kB / 1.021 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.8704, allocations: 4 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.8705, allocations: 7.922 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.8709, allocations: 15.98 kB / 1.021 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.074e-05/0.8709, allocations: 4 kB / 1.021 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.871, allocations: 19.92 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.8711, allocations: 27.97 kB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.8713, allocations: 35.97 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.8713, allocations: 15.92 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.8713, allocations: 0 / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-06/0.8714, allocations: 0 / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.8714, allocations: 15.92 kB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.8714, allocations: 33.7 kB / 1.021 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.106e-05/0.8715, allocations: 35.92 kB / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.8715, allocations: 0 / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8715, allocations: 0 / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.8715, allocations: 0 / 1.021 GB, free: 484 kB / 0.7637 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.0003465/0.8719, allocations: 349.1 kB / 1.022 GB, free: 88 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.8719, allocations: 11.98 kB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.872, allocations: 4 kB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.8722, allocations: 182.9 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.8722, allocations: 12 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.8722, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.8724, allocations: 80.2 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8724, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.8724, allocations: 4 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8724, allocations: 3.938 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.8725, allocations: 23.97 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.873, allocations: 0.6051 MB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.8731, allocations: 169.1 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.8731, allocations: 75.28 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.8732, allocations: 113.8 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8732, allocations: 4 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.663e-05/0.8733, allocations: 29.61 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.8733, allocations: 130.7 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.8735, allocations: 154 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.8735, allocations: 29.64 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.8736, allocations: 92.14 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.8736, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-07/0.8736, allocations: 4 kB / 1.023 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8738, allocations: 326.8 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.8738, allocations: 0 / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.8738, allocations: 7.938 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.8739, allocations: 79.22 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.8739, allocations: 75.28 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.592e-05/0.874, allocations: 33.61 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.874, allocations: 85 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.8741, allocations: 87.33 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.874e-05/0.8741, allocations: 158.5 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.471e-05/0.8742, allocations: 75.28 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-05/0.8742, allocations: 154.5 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8744, allocations: 79.84 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.8744, allocations: 75.28 kB / 1.025 GB, free: 12.97 MB / 0.7794 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.0001412/0.8746, allocations: 280.3 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.8746, allocations: 112.8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.8747, allocations: 112.8 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-05/0.8748, allocations: 184.2 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.311e-05/0.8748, allocations: 176.3 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/0.8749, allocations: 180.3 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.8751, allocations: 425.1 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/0.8752, allocations: 105 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.8752, allocations: 105.2 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.047e-05/0.8753, allocations: 180.2 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/0.8754, allocations: 180.3 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.559e-05/0.8754, allocations: 192.2 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.18e-05/0.8755, allocations: 180.3 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.8757, allocations: 311.6 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.8758, allocations: 193.9 kB / 1.027 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.8758, allocations: 180.3 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.8759, allocations: 105 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.876, allocations: 184.2 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.876, allocations: 101 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.8761, allocations: 119.2 kB / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8761, allocations: 0 / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000274/0.8764, allocations: 4 kB / 1.028 GB, free: 9.215 MB / 0.7794 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.0001418/0.8766, allocations: 174.5 kB / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.395e-05/0.8766, allocations: 7.922 kB / 1.028 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.8766, allocations: 7.938 kB / 1.028 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.8766, allocations: 3.938 kB / 1.028 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.877, allocations: 0.5263 MB / 1.029 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.8772, allocations: 208.4 kB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.8777, allocations: 0.6887 MB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.843e-05/0.8777, allocations: 4 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.8777, allocations: 11.44 kB / 1.03 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8777, allocations: 4 kB / 1.03 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.002232/0.8799, allocations: 400.9 kB / 1.03 GB, free: 7.129 MB / 0.7794 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