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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00157/0.00157, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001817/0.001816, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 64.94 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2855, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001803/0.2873, allocations: 0.6008 MB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.2877, allocations: 127.7 kB / 1.02 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2877, allocations: 0 / 1.02 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.215e-05/0.2878, allocations: 0 / 1.02 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.2881, allocations: 23.92 kB / 1.02 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.493e-05/0.2882, allocations: 19.91 kB / 1.02 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.2883, allocations: 27.98 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.2884, allocations: 23.92 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2885, allocations: 51.89 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.2886, allocations: 15.94 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.2886, allocations: 7.922 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.2886, allocations: 4 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.2887, allocations: 19.92 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2887, allocations: 23.88 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.426e-05/0.2888, allocations: 39.81 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2888, allocations: 0 / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2888, allocations: 0 / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2888, allocations: 0 / 1.02 GB, free: 8.883 MB / 0.795 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.000293/0.2891, allocations: 355.3 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2891, allocations: 12.92 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.2892, allocations: 8.844 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.2893, allocations: 180.3 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2893, allocations: 4.375 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2894, allocations: 384 / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2895, allocations: 88.73 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2895, allocations: 192 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2895, allocations: 3.938 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2895, allocations: 4 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.2896, allocations: 27.92 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.29, allocations: 0.6011 MB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.2901, allocations: 169.1 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.2901, allocations: 84.12 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2901, allocations: 83.27 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2902, allocations: 113.8 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.2902, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.607e-05/0.2903, allocations: 33.64 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2903, allocations: 126.7 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2904, allocations: 157.8 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2905, allocations: 25.7 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.2905, allocations: 96.12 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.2905, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.2905, allocations: 9.719 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.2906, allocations: 326.8 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.2907, allocations: 0 / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.2907, allocations: 3.938 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.2907, allocations: 83.31 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.2907, allocations: 75.28 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.208e-05/0.2908, allocations: 39.08 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.2908, allocations: 79.28 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/0.2909, allocations: 79.28 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.704e-05/0.2909, allocations: 154.6 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.693e-05/0.291, allocations: 83.2 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.386e-05/0.291, allocations: 158.6 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/0.2911, allocations: 91.16 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.2912, allocations: 75.28 kB / 1.023 GB, free: 5.258 MB / 0.795 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.0001178/0.2913, allocations: 269 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.2913, allocations: 108.9 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.2914, allocations: 124.8 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-05/0.2915, allocations: 176.3 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.965e-05/0.2915, allocations: 184.2 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-05/0.2916, allocations: 180.2 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2918, allocations: 417.5 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.2918, allocations: 108.9 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.2919, allocations: 109 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-05/0.2919, allocations: 180.2 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.292, allocations: 180.2 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.918e-05/0.292, allocations: 176.3 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-05/0.2921, allocations: 188.2 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.2922, allocations: 315.6 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.2923, allocations: 197.9 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.2923, allocations: 176.3 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.2924, allocations: 104.9 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.2925, allocations: 184.3 kB / 1.026 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.2925, allocations: 112.8 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.2926, allocations: 122.1 kB / 1.026 GB, free: 1.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2926, allocations: 0 / 1.026 GB, free: 1.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003012/0.293, allocations: 4 kB / 1.026 GB, free: 1.496 MB / 0.795 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.0001515/0.2931, allocations: 170.5 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.007e-05/0.2932, allocations: 4 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2932, allocations: 4 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.2932, allocations: 0 / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.2936, allocations: 463.6 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.2938, allocations: 200.3 kB / 1.027 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2941, allocations: 0.6846 MB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.2941, allocations: 8 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.2941, allocations: 15.38 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2941, allocations: 0 / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.002321/0.2964, allocations: 399.4 kB / 1.028 GB, free: 15.51 MB / 0.8106 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 -s gbode -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/jenkins1/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