Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007917/0.007917, allocations: 103.2 kB / 15.73 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.001289/0.001289, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001773/1.053, allocations: 0.5957 MB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003951/1.053, allocations: 120.2 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/1.054, allocations: 1.156 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/1.054, allocations: 9.156 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003771/1.054, allocations: 30.8 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.652e-05/1.054, allocations: 7.406 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.545e-05/1.054, allocations: 29.61 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/1.054, allocations: 23.72 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/1.054, allocations: 57.45 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/1.055, allocations: 15.34 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/1.055, allocations: 3.062 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/1.055, allocations: 2.219 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/1.055, allocations: 17.14 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/1.055, allocations: 20.52 kB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/1.055, allocations: 40 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.055, allocations: 0.875 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/1.055, allocations: 0 / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.055, allocations: 4 kB / 1.089 GB, free: 4.957 MB / 0.8575 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.0003052/1.055, allocations: 351.5 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.055, allocations: 10.72 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/1.055, allocations: 3.219 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/1.055, allocations: 188.3 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/1.055, allocations: 2 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.055, allocations: 3.656 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/1.056, allocations: 89.86 kB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.056, allocations: 192 / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.056, allocations: 10.02 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.056, allocations: 1.312 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/1.056, allocations: 28.8 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/1.056, allocations: 0.6031 MB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/1.056, allocations: 166.4 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/1.056, allocations: 85.52 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/1.056, allocations: 75.28 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.056, allocations: 111.4 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.056, allocations: 4 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.21e-05/1.056, allocations: 38.67 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.056, allocations: 126.7 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.056, allocations: 162.3 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/1.056, allocations: 26.58 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/1.056, allocations: 92.92 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/1.056, allocations: 1.156 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/1.056, allocations: 10.75 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/1.057, allocations: 327.6 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-06/1.057, allocations: 0 / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/1.057, allocations: 3.422 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.369e-05/1.057, allocations: 77.14 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-06/1.057, allocations: 75.28 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.181e-05/1.057, allocations: 39.69 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.057, allocations: 80.7 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.057, allocations: 76.22 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/1.057, allocations: 160.3 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.259e-05/1.057, allocations: 80.83 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/1.057, allocations: 151.7 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/1.057, allocations: 90.03 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.057, allocations: 77.02 kB / 1.092 GB, free: 1.582 MB / 0.8575 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.0001703/1.057, allocations: 273.3 kB / 1.092 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/1.057, allocations: 105.5 kB / 1.093 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/1.057, allocations: 119.1 kB / 1.093 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-05/1.057, allocations: 181 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-05/1.057, allocations: 186.1 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.31e-05/1.058, allocations: 182.1 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/1.058, allocations: 424.6 kB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-05/1.058, allocations: 102.7 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/1.058, allocations: 102.8 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.769e-05/1.058, allocations: 182 kB / 1.094 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/1.058, allocations: 178.6 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.086e-05/1.058, allocations: 185.4 kB / 1.094 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.438e-05/1.058, allocations: 189.7 kB / 1.094 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/1.058, allocations: 311.8 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/1.058, allocations: 190.5 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/1.059, allocations: 183.2 kB / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/1.059, allocations: 105.7 kB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/1.059, allocations: 178.2 kB / 1.095 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/1.059, allocations: 110.6 kB / 1.095 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001127/1.059, allocations: 120.9 kB / 1.096 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/1.059, allocations: 0 / 1.096 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002714/1.059, allocations: 3.75 kB / 1.096 GB, free: 13.92 MB / 0.8731 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.0001726/1.059, allocations: 181.8 kB / 1.096 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.248e-05/1.059, allocations: 1.844 kB / 1.096 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.059, allocations: 4 kB / 1.096 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/1.059, allocations: 0 / 1.096 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/1.06, allocations: 463.5 kB / 1.096 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/1.06, allocations: 209.1 kB / 1.096 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/1.06, allocations: 0.6844 MB / 1.097 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.983e-05/1.06, allocations: 5.312 kB / 1.097 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/1.06, allocations: 8.688 kB / 1.097 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.06, allocations: 0.9375 kB / 1.097 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.002569/1.063, allocations: 414.8 kB / 1.098 GB, free: 12.33 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches