Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_latest_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.008121/0.008121, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001429/0.001429, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.56/2.56, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8581, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.00182/0.8599, allocations: 0.5869 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.8603, allocations: 111.7 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.8604, allocations: 0 / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.071e-05/0.8605, allocations: 3.938 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.8609, allocations: 35.89 kB / 1.208 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.085e-05/0.861, allocations: 8 kB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.8611, allocations: 31.86 kB / 1.208 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.8612, allocations: 19.98 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.8614, allocations: 59.94 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.8614, allocations: 19.86 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.8615, allocations: 4 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.8615, allocations: 0 / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.8615, allocations: 15.94 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.8616, allocations: 23.86 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.8617, allocations: 43.77 kB / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8617, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8617, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.8617, allocations: 0 / 1.208 GB, free: 12.58 MB / 0.9356 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.000326/0.862, allocations: 357.6 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.8621, allocations: 8.031 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.8621, allocations: 38.75 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.8621, allocations: 12.78 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.8623, allocations: 180.4 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.8623, allocations: 384 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.8623, allocations: 8.359 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.8625, allocations: 92.73 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8625, allocations: 3.938 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8625, allocations: 4 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8625, allocations: 0 / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.8626, allocations: 27.91 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.863, allocations: 0.605 MB / 1.209 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.8631, allocations: 173.1 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.8631, allocations: 80.14 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8632, allocations: 75.28 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.8632, allocations: 105.8 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.8632, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.651e-05/0.8633, allocations: 41.61 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.8634, allocations: 130.6 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.8635, allocations: 163.5 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.8635, allocations: 25.7 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.8636, allocations: 92.14 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.8636, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.8636, allocations: 13.72 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8637, allocations: 322.8 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.8637, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.8638, allocations: 4 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.8638, allocations: 75.28 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.8638, allocations: 75.28 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.897e-05/0.8639, allocations: 37.69 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.8639, allocations: 83.22 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.864, allocations: 79.22 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-05/0.864, allocations: 154.6 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.498e-05/0.864, allocations: 83.22 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.654e-05/0.8641, allocations: 158.5 kB / 1.211 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.8642, allocations: 83.12 kB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.8643, allocations: 83.22 kB / 1.212 GB, free: 8.902 MB / 0.9356 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.0001078/0.8644, allocations: 272.4 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.8644, allocations: 108.9 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.8645, allocations: 116.8 kB / 1.212 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.846e-05/0.8646, allocations: 176.3 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-05/0.8646, allocations: 184.3 kB / 1.212 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/0.8647, allocations: 188.1 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.8649, allocations: 417.2 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/0.865, allocations: 108.9 kB / 1.213 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.865, allocations: 105 kB / 1.213 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.822e-05/0.8651, allocations: 176.6 kB / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.8651, allocations: 184.2 kB / 1.213 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.79e-05/0.8652, allocations: 176.3 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.768e-05/0.8653, allocations: 188.2 kB / 1.214 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.8654, allocations: 315.7 kB / 1.214 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.8655, allocations: 182 kB / 1.214 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.8656, allocations: 180.3 kB / 1.214 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.8657, allocations: 116.9 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.8658, allocations: 180.2 kB / 1.215 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.8658, allocations: 108.9 kB / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.8659, allocations: 121.4 kB / 1.215 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8659, allocations: 0 / 1.215 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002566/0.8662, allocations: 0 / 1.215 GB, free: 5.148 MB / 0.9356 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.000421/0.8666, allocations: 0.8165 MB / 1.216 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.033e-05/0.8667, allocations: 4 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8667, allocations: 0 / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.8667, allocations: 3.938 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.8671, allocations: 467.6 kB / 1.216 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.8684, allocations: 1.754 MB / 1.218 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.8688, allocations: 0.6807 MB / 1.219 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.8688, allocations: 7.984 kB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.8688, allocations: 15.38 kB / 1.219 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8688, allocations: 4 kB / 1.219 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.8876, allocations: 1.555 MB / 1.22 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.557, allocations: 8.594 kB / 1.22 GB, free: 15.86 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches