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.00142/0.00142, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 197.7 kB / 16.79 MB, free: 6.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.313/2.313, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6506/0.6522, allocations: 140.4 MB / 0.9496 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001696/0.654, allocations: 0.666 MB / 0.9502 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.6544, allocations: 113.5 kB / 0.9504 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.6544, allocations: 1.25 kB / 0.9504 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.6545, allocations: 7.922 kB / 0.9504 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.6548, allocations: 22.89 kB / 0.9504 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.655e-05/0.6549, allocations: 9.312 kB / 0.9504 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.655, allocations: 32.22 kB / 0.9504 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.6551, allocations: 20.38 kB / 0.9504 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.6552, allocations: 52.81 kB / 0.9505 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.6552, allocations: 16.05 kB / 0.9505 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.6553, allocations: 2.75 kB / 0.9505 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.6553, allocations: 1.375 kB / 0.9505 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.6553, allocations: 17.42 kB / 0.9505 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.6554, allocations: 16 kB / 0.9505 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.282e-05/0.6554, allocations: 34.89 kB / 0.9506 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6554, allocations: 1.375 kB / 0.9506 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.32e-07/0.6554, allocations: 0 / 0.9506 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.6554, allocations: 0 / 0.9506 GB, free: 8.711 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.0002613/0.6557, allocations: 364.5 kB / 0.9509 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.6557, allocations: 8.25 kB / 0.9509 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.6558, allocations: 8.969 kB / 0.9509 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.6559, allocations: 184.5 kB / 0.9511 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.6559, allocations: 1.75 kB / 0.9511 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.6559, allocations: 4.5 kB / 0.9511 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.6561, allocations: 81.25 kB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6561, allocations: 4.188 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6561, allocations: 5.312 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6561, allocations: 1.375 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.6561, allocations: 24.34 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.6564, allocations: 0.5994 MB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/0.6565, allocations: 174.5 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.6565, allocations: 80.14 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.6565, allocations: 75.28 kB / 0.9521 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6566, allocations: 111.2 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.6566, allocations: 0 / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.163e-05/0.6566, allocations: 37.73 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.6567, allocations: 126.7 kB / 0.9524 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.6568, allocations: 159.6 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.6568, allocations: 29.64 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.6568, allocations: 92.27 kB / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.6568, allocations: 0 / 0.9527 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.6569, allocations: 11.09 kB / 0.9527 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.6569, allocations: 325.5 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/0.6569, allocations: 7.938 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.6569, allocations: 6.781 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.222e-05/0.657, allocations: 76.66 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.657, allocations: 75.28 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.89e-05/0.657, allocations: 35.19 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.657, allocations: 84.73 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6571, allocations: 80.94 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.6571, allocations: 158.5 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.106e-05/0.6571, allocations: 80.66 kB / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.6571, allocations: 155.6 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.6572, allocations: 80.59 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6573, allocations: 80.47 kB / 0.9539 GB, free: 5.262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.6573, allocations: 271.3 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.6574, allocations: 111.2 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.6574, allocations: 120.7 kB / 0.9543 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.6574, allocations: 185.5 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.6575, allocations: 177.6 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.6575, allocations: 184.1 kB / 0.9549 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.6576, allocations: 422.6 kB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6576, allocations: 108.9 kB / 0.9554 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.6577, allocations: 110.2 kB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.972e-05/0.6577, allocations: 177.3 kB / 0.9557 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6577, allocations: 185.8 kB / 0.9558 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/0.6577, allocations: 177.6 kB / 0.956 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.09e-05/0.6578, allocations: 184.2 kB / 0.9562 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.297e-05/0.6578, allocations: 314.6 kB / 0.9565 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.6579, allocations: 184.7 kB / 0.9567 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.6579, allocations: 181.5 kB / 0.9568 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.658, allocations: 114.3 kB / 0.9569 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.658, allocations: 176.3 kB / 0.9571 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.658, allocations: 106.4 kB / 0.9572 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.6581, allocations: 120.1 kB / 0.9573 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.91e-07/0.6581, allocations: 0 / 0.9573 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002528/0.6584, allocations: 6.812 kB / 0.9573 GB, free: 1.566 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.289e-05/0.6585, allocations: 180.7 kB / 0.9575 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.897e-05/0.6585, allocations: 1.188 kB / 0.9575 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6585, allocations: 0 / 0.9575 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.6585, allocations: 1.438 kB / 0.9575 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6588, allocations: 0.522 MB / 0.958 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.659, allocations: 251.2 kB / 0.9582 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.6592, allocations: 0.6821 MB / 0.9589 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.6592, allocations: 13.38 kB / 0.9589 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/0.6592, allocations: 0 / 0.9589 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.001854/0.6611, allocations: 0.702 MB / 0.9596 GB, free: 15.56 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/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