Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001541/0.001541, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002049/0.002049, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 60.14 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6756, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001894/0.6776, allocations: 0.6596 MB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.6779, allocations: 115.7 kB / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.678, allocations: 0 / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.6781, allocations: 7.922 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.6785, allocations: 23.98 kB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.422e-05/0.6785, allocations: 7.938 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.6786, allocations: 35.86 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.6788, allocations: 27.97 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.6789, allocations: 51.89 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.6789, allocations: 15.92 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.679, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.679, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.679, allocations: 11.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.6791, allocations: 23.88 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.6792, allocations: 47.8 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6792, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.468e-06/0.6792, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6792, allocations: 3.938 kB / 1.018 GB, free: 1.77 MB / 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.0003464/0.6795, allocations: 349.3 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.6796, allocations: 12.03 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.6796, allocations: 8.844 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6798, allocations: 188.2 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.6798, allocations: 8.375 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.6798, allocations: 4.375 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.68, allocations: 80.75 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.68, allocations: 192 / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.68, allocations: 7.938 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.68, allocations: 0 / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.6801, allocations: 19.98 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.6806, allocations: 0.6051 MB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.6807, allocations: 173.1 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.6807, allocations: 80.14 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.6808, allocations: 79.28 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.6808, allocations: 109.8 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.6809, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.501e-05/0.6809, allocations: 33.61 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.681, allocations: 130.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.6812, allocations: 155.4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6812, allocations: 25.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.6813, allocations: 100.1 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.6813, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.6813, allocations: 17.66 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6814, allocations: 318.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.6814, allocations: 32 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.6815, allocations: 11.94 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.6815, allocations: 79.27 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/0.6815, allocations: 75.28 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.755e-05/0.6816, allocations: 37.64 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.6816, allocations: 84.06 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.6816, allocations: 79.22 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.585e-05/0.6817, allocations: 154.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.6817, allocations: 75.28 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-05/0.6818, allocations: 158.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.6819, allocations: 83.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.682, allocations: 83.22 kB / 1.021 GB, free: 14.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.6821, allocations: 272.9 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.6822, allocations: 112.9 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.6822, allocations: 108.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-05/0.6823, allocations: 184.2 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-05/0.6823, allocations: 184.2 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-05/0.6824, allocations: 184.1 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.6826, allocations: 425.4 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.073e-05/0.6827, allocations: 101 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.6827, allocations: 109 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-05/0.6828, allocations: 180.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.6828, allocations: 188.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.668e-05/0.6829, allocations: 176.3 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.486e-05/0.683, allocations: 184.2 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.6831, allocations: 315.7 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.6832, allocations: 182 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.6833, allocations: 192.2 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.6833, allocations: 104.9 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.6834, allocations: 176.3 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6834, allocations: 104.9 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.856e-05/0.6835, allocations: 129.5 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6835, allocations: 8 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000267/0.6838, allocations: 0 / 1.025 GB, free: 10.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.6839, allocations: 178.5 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.322e-05/0.684, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.684, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.684, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.6843, allocations: 463.7 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.6846, allocations: 216.3 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.6848, allocations: 0.6885 MB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.6849, allocations: 4 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.6849, allocations: 19.38 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6849, allocations: 0 / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of Templates: time 0.002295/0.6872, allocations: 416.8 kB / 1.026 GB, free: 8.363 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches