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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 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.00128/0.00128, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.358/2.358, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.88 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6322, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.001982/0.6342, allocations: 0.5969 MB / 0.9503 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.6346, allocations: 111.8 kB / 0.9504 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.6346, allocations: 1.062 kB / 0.9504 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.6347, allocations: 13.22 kB / 0.9504 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.6352, allocations: 27.25 kB / 0.9505 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.426e-05/0.6352, allocations: 10.53 kB / 0.9505 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.6353, allocations: 32.17 kB / 0.9505 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.6355, allocations: 19.06 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.6356, allocations: 57.45 kB / 0.9506 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.6357, allocations: 15.67 kB / 0.9506 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.6357, allocations: 2.5 kB / 0.9506 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.6357, allocations: 2.656 kB / 0.9506 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.6358, allocations: 13.75 kB / 0.9506 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.6358, allocations: 24.25 kB / 0.9506 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.6359, allocations: 40.67 kB / 0.9507 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.636, allocations: 0 / 0.9507 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.636, allocations: 1.312 kB / 0.9507 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.636, allocations: 4 kB / 0.9507 GB, free: 8.527 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.0003478/0.6363, allocations: 355.5 kB / 0.951 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6364, allocations: 10.25 kB / 0.951 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.6364, allocations: 31.97 kB / 0.9511 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.6365, allocations: 7.5 kB / 0.9511 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.6366, allocations: 182.4 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6367, allocations: 2.031 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.6367, allocations: 9.938 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.6368, allocations: 82.48 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6368, allocations: 3.938 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.6369, allocations: 5.062 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6369, allocations: 2.125 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.6369, allocations: 36.69 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.6373, allocations: 0.6022 MB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.6374, allocations: 174.1 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.6374, allocations: 80.14 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.6374, allocations: 76.38 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.6375, allocations: 111.1 kB / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.6375, allocations: 0 / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.673e-05/0.6375, allocations: 36.2 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.6376, allocations: 128.1 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6377, allocations: 162.8 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.6377, allocations: 27.27 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.6378, allocations: 91.05 kB / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.6378, allocations: 0 / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.6378, allocations: 11.91 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.6379, allocations: 324.9 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.6379, allocations: 0 / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.6379, allocations: 3.812 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.6379, allocations: 75.28 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.6379, allocations: 75.28 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.286e-05/0.638, allocations: 38.83 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.638, allocations: 88.27 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.6381, allocations: 79.31 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.6381, allocations: 151.7 kB / 0.9536 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-05/0.6381, allocations: 80.31 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.6381, allocations: 152 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.6383, allocations: 87.25 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.6383, allocations: 75.28 kB / 0.954 GB, free: 5.043 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 8.572e-05/0.6384, allocations: 275.2 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.6385, allocations: 111.3 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.6385, allocations: 121.1 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.6385, allocations: 177.4 kB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.6386, allocations: 180.2 kB / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.6386, allocations: 189.3 kB / 0.955 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.6388, allocations: 429.5 kB / 0.9554 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.6388, allocations: 102.2 kB / 0.9555 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.6388, allocations: 106.5 kB / 0.9556 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.981e-05/0.6389, allocations: 185.4 kB / 0.9558 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.6389, allocations: 176.3 kB / 0.9559 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.723e-05/0.6389, allocations: 189.9 kB / 0.9561 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-05/0.639, allocations: 177.7 kB / 0.9563 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.565e-05/0.6391, allocations: 321.2 kB / 0.9566 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.6391, allocations: 184.9 kB / 0.9568 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.6391, allocations: 185.6 kB / 0.957 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.6392, allocations: 106.4 kB / 0.9571 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.6392, allocations: 181.6 kB / 0.9572 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.6393, allocations: 104.9 kB / 0.9573 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.6393, allocations: 121.8 kB / 0.9574 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6393, allocations: 0 / 0.9574 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002736/0.6396, allocations: 2.906 kB / 0.9575 GB, free: 1.34 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 0.0002002/0.6398, allocations: 0.812 MB / 0.9582 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.489e-05/0.6399, allocations: 10.16 kB / 0.9583 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6399, allocations: 0 / 0.9583 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.6399, allocations: 0 / 0.9583 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.6402, allocations: 468.3 kB / 0.9587 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.6414, allocations: 1.734 MB / 0.9604 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.6417, allocations: 0.6946 MB / 0.9611 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.616e-05/0.6417, allocations: 3.562 kB / 0.9611 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.6417, allocations: 20.61 kB / 0.9611 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.6417, allocations: 0 / 0.9611 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2816/0.9234, allocations: 1.507 MB / 0.9626 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/8.304, allocations: 9.125 kB / 0.9626 GB, free: 12.84 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > 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