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.001511/0.001511, allocations: 104.3 kB / 15.98 MB, free: 5.891 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.001517/0.001517, allocations: 187.7 kB / 16.9 MB, free: 5.746 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.516/1.516, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.218/2.218, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.38 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.255, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001908/0.2569, allocations: 0.6719 MB / 0.9504 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.2573, allocations: 109.8 kB / 0.9505 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.2574, allocations: 0 / 0.9505 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.75e-05/0.2575, allocations: 7.922 kB / 0.9505 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.2579, allocations: 23.98 kB / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.944e-05/0.2579, allocations: 11.94 kB / 0.9506 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.258, allocations: 35.91 kB / 0.9506 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2581, allocations: 15.98 kB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2583, allocations: 55.95 kB / 0.9507 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.2583, allocations: 23.86 kB / 0.9507 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2583, allocations: 7.938 kB / 0.9507 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-06/0.2584, allocations: 0 / 0.9507 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.2584, allocations: 15.98 kB / 0.9507 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.2584, allocations: 19.81 kB / 0.9507 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.2585, allocations: 43.92 kB / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2585, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2585, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2585, allocations: 0 / 0.9508 GB, free: 8.176 MB / 0.7325 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.0003088/0.2589, allocations: 351.5 kB / 0.9511 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2589, allocations: 12.03 kB / 0.9511 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2589, allocations: 8.844 kB / 0.9511 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2591, allocations: 180.3 kB / 0.9513 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2591, allocations: 4.359 kB / 0.9513 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.2591, allocations: 8.375 kB / 0.9513 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2593, allocations: 76.75 kB / 0.9514 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2593, allocations: 192 / 0.9514 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2593, allocations: 7.938 kB / 0.9514 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2593, allocations: 4 kB / 0.9514 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.2594, allocations: 27.92 kB / 0.9514 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.2598, allocations: 0.5934 MB / 0.952 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.048e-05/0.2599, allocations: 173.1 kB / 0.9522 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.2599, allocations: 84.14 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2599, allocations: 75.28 kB / 0.9523 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.26, allocations: 105.8 kB / 0.9524 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.26, allocations: 0 / 0.9524 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.983e-05/0.2601, allocations: 33.61 kB / 0.9525 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.2601, allocations: 134.6 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2603, allocations: 157.8 kB / 0.9527 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2603, allocations: 25.7 kB / 0.9528 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.2603, allocations: 96.12 kB / 0.9529 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.2603, allocations: 0 / 0.9529 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2604, allocations: 13.72 kB / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.2605, allocations: 318.8 kB / 0.9532 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.2605, allocations: 4 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.2605, allocations: 3.938 kB / 0.9532 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.2605, allocations: 83.3 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.2606, allocations: 75.28 kB / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.598e-05/0.2606, allocations: 37.61 kB / 0.9534 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2607, allocations: 85.78 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.2607, allocations: 79.22 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.997e-05/0.2608, allocations: 150.6 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.57e-05/0.2608, allocations: 87.16 kB / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-05/0.2608, allocations: 154.6 kB / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.261, allocations: 83.2 kB / 0.954 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.261, allocations: 83.38 kB / 0.9541 GB, free: 4.566 MB / 0.7325 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.000105/0.2611, allocations: 267.5 kB / 0.9543 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.2612, allocations: 112.9 kB / 0.9544 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.2613, allocations: 132.6 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/0.2613, allocations: 176.3 kB / 0.9547 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/0.2614, allocations: 176.3 kB / 0.9549 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-05/0.2614, allocations: 192.1 kB / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.2616, allocations: 413.2 kB / 0.9555 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/0.2617, allocations: 116.9 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.2617, allocations: 101 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.2618, allocations: 176.3 kB / 0.9558 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.2618, allocations: 184.2 kB / 0.956 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-05/0.2619, allocations: 180.3 kB / 0.9562 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/0.2619, allocations: 188.2 kB / 0.9564 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.2621, allocations: 315.6 kB / 0.9567 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2622, allocations: 182.1 kB / 0.9568 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.2622, allocations: 184.2 kB / 0.957 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.2623, allocations: 104.9 kB / 0.9571 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.2624, allocations: 188.2 kB / 0.9573 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.2624, allocations: 112.9 kB / 0.9574 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.551e-05/0.2625, allocations: 127.1 kB / 0.9575 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2625, allocations: 0 / 0.9575 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002567/0.2628, allocations: 0 / 0.9575 GB, free: 0.793 MB / 0.7325 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.0001178/0.2629, allocations: 174.5 kB / 0.9577 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.083e-05/0.2629, allocations: 0 / 0.9577 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2629, allocations: 4 kB / 0.9577 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.263, allocations: 7.938 kB / 0.9577 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2633, allocations: 455.7 kB / 0.9581 GB, free: 156 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.2636, allocations: 246 kB / 0.9584 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2638, allocations: 0.6883 MB / 0.959 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.2638, allocations: 11.44 kB / 0.9591 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.2638, allocations: 0 / 0.9591 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.001873/0.2657, allocations: 0.7107 MB / 0.9598 GB, free: 14.45 MB / 0.7481 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/jenkins1/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