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.001362/0.001362, allocations: 104.7 kB / 16.37 MB, free: 6.477 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.001431/0.00143, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 63.19 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.00214/0.3208, allocations: 0.6006 MB / 0.9517 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000445/0.3213, allocations: 119.7 kB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.3213, allocations: 7.938 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3214, allocations: 7.938 kB / 0.9519 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.3218, allocations: 27.91 kB / 0.9519 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.63e-05/0.3219, allocations: 0 / 0.9519 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.322, allocations: 27.97 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3222, allocations: 23.98 kB / 0.9519 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3223, allocations: 61.94 kB / 0.952 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.3224, allocations: 15.92 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3224, allocations: 4 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.3224, allocations: 4 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.3224, allocations: 12 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.3225, allocations: 19.86 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.65e-05/0.3226, allocations: 51.81 kB / 0.9521 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3226, allocations: 0 / 0.9521 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3226, allocations: 0 / 0.9521 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.3226, allocations: 0 / 0.9521 GB, free: 7.125 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.0003897/0.323, allocations: 351.2 kB / 0.9524 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3231, allocations: 15.97 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.3231, allocations: 8.844 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3233, allocations: 180.3 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3233, allocations: 4.375 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3233, allocations: 8.312 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3235, allocations: 72.81 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3235, allocations: 192 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3235, allocations: 11.94 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3235, allocations: 3.984 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.3236, allocations: 27.91 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.3241, allocations: 0.6089 MB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.3242, allocations: 165.1 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.3242, allocations: 80.14 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.3243, allocations: 79.28 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.3243, allocations: 105.8 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3243, allocations: 0 / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.684e-05/0.3244, allocations: 37.55 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.3245, allocations: 126.7 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3246, allocations: 157.8 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3246, allocations: 29.7 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.3247, allocations: 96.14 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.3247, allocations: 0 / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3247, allocations: 13.72 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3248, allocations: 318.8 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.3249, allocations: 0 / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.3249, allocations: 11.94 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.3249, allocations: 75.28 kB / 0.9546 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/0.325, allocations: 79.31 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.683e-05/0.325, allocations: 37.55 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.3251, allocations: 87.27 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.3251, allocations: 75.28 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-05/0.3252, allocations: 150.6 kB / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-05/0.3252, allocations: 79.22 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.844e-05/0.3253, allocations: 158.6 kB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3254, allocations: 91.16 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3254, allocations: 75.28 kB / 0.9554 GB, free: 3.508 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.0001228/0.3255, allocations: 268.4 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.3256, allocations: 120.8 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.3257, allocations: 116.8 kB / 0.9559 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/0.3257, allocations: 180.3 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-05/0.3258, allocations: 180.2 kB / 0.9562 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.725e-05/0.3259, allocations: 188.2 kB / 0.9564 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.3261, allocations: 417.4 kB / 0.9568 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/0.3262, allocations: 101 kB / 0.9569 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3262, allocations: 105 kB / 0.957 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.808e-05/0.3263, allocations: 192.2 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.3264, allocations: 180.3 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.059e-05/0.3264, allocations: 180.2 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.924e-05/0.3265, allocations: 176.3 kB / 0.9577 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3267, allocations: 327.6 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.3268, allocations: 178.1 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.3269, allocations: 184.2 kB / 0.9583 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.327, allocations: 105 kB / 0.9584 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3271, allocations: 176.3 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.3271, allocations: 112.9 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001044/0.3272, allocations: 129.5 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3272, allocations: 4 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000245/0.3275, allocations: 0 / 0.9588 GB, free: 15.74 MB / 0.7481 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.0001653/0.3277, allocations: 178.5 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.352e-05/0.3277, allocations: 0 / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3277, allocations: 0 / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3277, allocations: 3.938 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3281, allocations: 467.6 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.3284, allocations: 200.3 kB / 0.9596 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3287, allocations: 0.6883 MB / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.3287, allocations: 7.984 kB / 0.9603 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.3287, allocations: 7.438 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3288, allocations: 4 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.002584/0.3313, allocations: 414.9 kB / 0.9607 GB, free: 13.73 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 -s gbode -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