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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001116/0.001116, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001262/0.001262, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.9 MB / 0.666 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006136/0.0006139, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8796, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0008187/0.8805, allocations: 328.8 kB / 0.9548 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.8809, allocations: 112.9 kB / 0.9549 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.881, allocations: 0 / 0.9549 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.862e-05/0.8811, allocations: 17.02 kB / 0.9549 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.8815, allocations: 17.98 kB / 0.9549 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.388e-05/0.8815, allocations: 5.969 kB / 0.9549 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.8816, allocations: 26.97 kB / 0.9549 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.8818, allocations: 10.59 kB / 0.9549 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.8819, allocations: 57.22 kB / 0.955 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.882, allocations: 15.47 kB / 0.955 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.882, allocations: 1.219 kB / 0.955 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.882, allocations: 1.125 kB / 0.955 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.8821, allocations: 13.98 kB / 0.955 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.8821, allocations: 31.8 kB / 0.9551 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.573e-05/0.8822, allocations: 34.94 kB / 0.9551 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8822, allocations: 0 / 0.9551 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8822, allocations: 1.281 kB / 0.9551 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.8822, allocations: 0 / 0.9551 GB, free: 7.27 MB / 0.7169 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.0002751/0.8825, allocations: 346.8 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8825, allocations: 13.55 kB / 0.9554 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.8826, allocations: 10.61 kB / 0.9554 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.8827, allocations: 183.9 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.8827, allocations: 2.344 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.8828, allocations: 6.375 kB / 0.9556 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.8829, allocations: 72.88 kB / 0.9557 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8829, allocations: 5.125 kB / 0.9557 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.8829, allocations: 4 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.8829, allocations: 1.188 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.883, allocations: 28.97 kB / 0.9557 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.8834, allocations: 0.5911 MB / 0.9563 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.8834, allocations: 174.2 kB / 0.9565 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.8835, allocations: 89.27 kB / 0.9566 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.8835, allocations: 75.28 kB / 0.9566 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.8835, allocations: 114.9 kB / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.8835, allocations: 0 / 0.9567 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.576e-05/0.8836, allocations: 32.61 kB / 0.9568 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.8836, allocations: 131.8 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.8838, allocations: 155.2 kB / 0.9571 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.8838, allocations: 25.7 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.8838, allocations: 96.22 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.8838, allocations: 0 / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.8838, allocations: 0 / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.8839, allocations: 317.1 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-06/0.8839, allocations: 3.938 kB / 0.9575 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.8839, allocations: 10.05 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.88e-05/0.884, allocations: 76.34 kB / 0.9576 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.884, allocations: 76.47 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.469e-05/0.884, allocations: 41.81 kB / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.8841, allocations: 80.59 kB / 0.9577 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.8841, allocations: 80.22 kB / 0.9578 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.8841, allocations: 157 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.106e-05/0.8841, allocations: 79.31 kB / 0.958 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.8841, allocations: 159.9 kB / 0.9582 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.8843, allocations: 78.19 kB / 0.9583 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.8843, allocations: 79.22 kB / 0.9584 GB, free: 3.848 MB / 0.7169 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.0001003/0.8844, allocations: 275.5 kB / 0.9586 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.8845, allocations: 112 kB / 0.9587 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.8845, allocations: 120 kB / 0.9588 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.8845, allocations: 181.2 kB / 0.959 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/0.8846, allocations: 181.6 kB / 0.9592 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/0.8846, allocations: 180.2 kB / 0.9594 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.8848, allocations: 418.9 kB / 0.9598 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.8848, allocations: 105 kB / 0.9599 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.8848, allocations: 106.6 kB / 0.96 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-05/0.8848, allocations: 177.4 kB / 0.9601 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.8849, allocations: 193.5 kB / 0.9603 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/0.8849, allocations: 180.2 kB / 0.9605 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.8849, allocations: 181.3 kB / 0.9607 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.8e-05/0.885, allocations: 313.7 kB / 0.961 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.8851, allocations: 198 kB / 0.9611 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.8851, allocations: 180.3 kB / 0.9613 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.8852, allocations: 107.1 kB / 0.9614 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.8853, allocations: 184.2 kB / 0.9616 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.8853, allocations: 102.5 kB / 0.9617 GB, free: 252 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.608e-05/0.8854, allocations: 128.5 kB / 0.9618 GB, free: 148 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8854, allocations: 0 / 0.9618 GB, free: 148 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003868/0.8858, allocations: 2.844 kB / 0.9618 GB, free: 148 kB / 0.7169 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.0001664/0.8859, allocations: 176.1 kB / 0.962 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.706e-05/0.886, allocations: 9.375 kB / 0.962 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.886, allocations: 0 / 0.962 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.886, allocations: 1.594 kB / 0.962 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.8864, allocations: 0.5198 MB / 0.9625 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.8867, allocations: 204.3 kB / 0.9627 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.8871, allocations: 0.6901 MB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.8871, allocations: 7.562 kB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.8872, allocations: 9.469 kB / 0.9634 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.8872, allocations: 0 / 0.9634 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of Templates: time 0.003434/0.8906, allocations: 394.1 kB / 0.9638 GB, free: 14.33 MB / 0.7325 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