Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",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.001849/0.001849, 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.002096/0.002096, allocations: 192.7 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.549/2.549, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 63.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6715, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.00161/0.6732, allocations: 0.5878 MB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.6735, allocations: 106.7 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.6735, allocations: 5.188 kB / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.6736, allocations: 7.922 kB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.674, allocations: 23.8 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.558e-05/0.674, allocations: 9.547 kB / 0.9505 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.6741, allocations: 32.77 kB / 0.9505 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.6742, allocations: 20.47 kB / 0.9505 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.6743, allocations: 55.94 kB / 0.9506 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.6744, allocations: 16.08 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.6744, allocations: 2.75 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-06/0.6744, allocations: 1.375 kB / 0.9506 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.6745, allocations: 10.81 kB / 0.9506 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.6745, allocations: 23.98 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.328e-05/0.6746, allocations: 48.19 kB / 0.9507 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6746, allocations: 1.375 kB / 0.9507 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6746, allocations: 4 kB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6746, allocations: 0 / 0.9507 GB, free: 8.488 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.0002568/0.6749, allocations: 352.7 kB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6749, allocations: 9.625 kB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.675, allocations: 36.12 kB / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.675, allocations: 7.594 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.6752, allocations: 188.4 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.6752, allocations: 3.125 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.6752, allocations: 3.125 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.6754, allocations: 84.69 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6754, allocations: 1.375 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.6754, allocations: 0 / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.6754, allocations: 5.359 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.6755, allocations: 28.23 kB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.6759, allocations: 0.6032 MB / 0.9519 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.219e-05/0.676, allocations: 166.4 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.676, allocations: 84.17 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.676, allocations: 76.59 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.6761, allocations: 113.8 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6761, allocations: 1.25 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.649e-05/0.6762, allocations: 36.05 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.6762, allocations: 131.8 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.6764, allocations: 160 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.6764, allocations: 25.7 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.6764, allocations: 91.55 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.6764, allocations: 0 / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.6765, allocations: 16.59 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.6765, allocations: 320.3 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-06/0.6765, allocations: 0 / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.6766, allocations: 3.75 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.762e-05/0.6766, allocations: 79.22 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.6766, allocations: 75.28 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.096e-05/0.6767, allocations: 38.78 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.6767, allocations: 79.88 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.6767, allocations: 80.97 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/0.6768, allocations: 154.5 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.676e-05/0.6768, allocations: 84.56 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.6768, allocations: 156.2 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.677, allocations: 76.84 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.677, allocations: 78.38 kB / 0.954 GB, free: 5.016 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.853e-05/0.6771, allocations: 274.4 kB / 0.9542 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.6772, allocations: 112.1 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.6772, allocations: 119.8 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/0.6773, allocations: 189.3 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.012e-05/0.6773, allocations: 185.3 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/0.6774, allocations: 181.5 kB / 0.955 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.6775, allocations: 421.2 kB / 0.9554 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.6776, allocations: 106.1 kB / 0.9555 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.6776, allocations: 109.9 kB / 0.9556 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-05/0.6776, allocations: 180.9 kB / 0.9558 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.6776, allocations: 180.8 kB / 0.9559 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.873e-05/0.6777, allocations: 186.9 kB / 0.9561 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.69e-05/0.6777, allocations: 176.3 kB / 0.9563 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.646e-05/0.6778, allocations: 318.1 kB / 0.9566 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.6779, allocations: 184.7 kB / 0.9568 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.6779, allocations: 181.6 kB / 0.9569 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.678, allocations: 114.3 kB / 0.957 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.678, allocations: 180.2 kB / 0.9572 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.678, allocations: 102.3 kB / 0.9573 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.6781, allocations: 121.8 kB / 0.9574 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6781, allocations: 0 / 0.9574 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002895/0.6784, allocations: 3.969 kB / 0.9574 GB, free: 1.312 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.0003269/0.6788, allocations: 0.8152 MB / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.819e-05/0.6788, allocations: 1.25 kB / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6788, allocations: 0 / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.6789, allocations: 1.125 kB / 0.9582 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.6792, allocations: 470.8 kB / 0.9587 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.6807, allocations: 1.729 MB / 0.9604 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.681, allocations: 0.6978 MB / 0.9611 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.681, allocations: 2.844 kB / 0.9611 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.6811, allocations: 17.83 kB / 0.9611 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.6811, allocations: 0 / 0.9611 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.6986, allocations: 1.499 MB / 0.9625 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.182, allocations: 12.78 kB / 0.9626 GB, free: 12.82 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches