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.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: "" <> 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.000954/0.0009541, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006037/0.006037, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7749, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0007229/0.7756, allocations: 326.6 kB / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.776, allocations: 108 kB / 0.9556 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.776, allocations: 1 kB / 0.9556 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.7761, allocations: 7.938 kB / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.7764, allocations: 21.78 kB / 0.9556 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.05e-05/0.7765, allocations: 10.3 kB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.7766, allocations: 30.98 kB / 0.9557 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.7767, allocations: 20.56 kB / 0.9557 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.7768, allocations: 42.86 kB / 0.9557 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.7769, allocations: 19.34 kB / 0.9557 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.7769, allocations: 1.25 kB / 0.9557 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.7769, allocations: 1.156 kB / 0.9557 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.7769, allocations: 13.67 kB / 0.9558 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.777, allocations: 45.33 kB / 0.9558 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.728e-05/0.7771, allocations: 43.66 kB / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7771, allocations: 0 / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7771, allocations: 0 / 0.9558 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.7771, allocations: 5.094 kB / 0.9558 GB, free: 7.191 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.0002523/0.7774, allocations: 342.7 kB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7774, allocations: 10.06 kB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.7774, allocations: 44 kB / 0.9562 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.7775, allocations: 7.766 kB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.7776, allocations: 181.1 kB / 0.9564 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.7776, allocations: 6.219 kB / 0.9564 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.7777, allocations: 4.25 kB / 0.9564 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.7778, allocations: 84.34 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7778, allocations: 0 / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.7778, allocations: 5.375 kB / 0.9565 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7778, allocations: 1.031 kB / 0.9565 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.7779, allocations: 20.89 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.7782, allocations: 0.6071 MB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.7783, allocations: 178.2 kB / 0.9573 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.7783, allocations: 80.14 kB / 0.9574 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.7783, allocations: 76.69 kB / 0.9574 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.7784, allocations: 113.8 kB / 0.9575 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.7784, allocations: 0 / 0.9575 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.371e-05/0.7784, allocations: 33.3 kB / 0.9576 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7785, allocations: 131.8 kB / 0.9577 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.7786, allocations: 154.1 kB / 0.9578 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.7786, allocations: 26.36 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.7787, allocations: 100.5 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.7787, allocations: 0 / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.7787, allocations: 13.66 kB / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.7788, allocations: 316.3 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-06/0.7788, allocations: 1.406 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.7788, allocations: 9.516 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.357e-05/0.7788, allocations: 76.78 kB / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.7788, allocations: 75.28 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.924e-05/0.7789, allocations: 30.02 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.7789, allocations: 82.78 kB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.7789, allocations: 88.72 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/0.779, allocations: 155.6 kB / 0.9588 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-05/0.779, allocations: 80.62 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/0.779, allocations: 159.9 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.7791, allocations: 80.62 kB / 0.9591 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.7792, allocations: 84.62 kB / 0.9592 GB, free: 3.703 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 7.909e-05/0.7793, allocations: 269.9 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.7793, allocations: 108.1 kB / 0.9595 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.7793, allocations: 112.1 kB / 0.9596 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.7794, allocations: 185.5 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.7794, allocations: 181.7 kB / 0.96 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.7794, allocations: 185.5 kB / 0.9602 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.7796, allocations: 418 kB / 0.9606 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.7796, allocations: 101.2 kB / 0.9607 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.7796, allocations: 106.3 kB / 0.9608 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-05/0.7797, allocations: 181.7 kB / 0.9609 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.7797, allocations: 184.2 kB / 0.9611 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.371e-05/0.7797, allocations: 197.5 kB / 0.9613 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.405e-05/0.7798, allocations: 181.3 kB / 0.9615 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.43e-05/0.7799, allocations: 305.3 kB / 0.9618 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.7799, allocations: 193.4 kB / 0.9619 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.78, allocations: 181.4 kB / 0.9621 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.78, allocations: 113.9 kB / 0.9622 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.7801, allocations: 177.5 kB / 0.9624 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.7801, allocations: 106.4 kB / 0.9625 GB, free: 112 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.345e-05/0.7802, allocations: 124.6 kB / 0.9626 GB, free: 12 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7802, allocations: 1 kB / 0.9626 GB, free: 12 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002412/0.7804, allocations: 2.75 kB / 0.9626 GB, free: 12 kB / 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.0004504/0.7809, allocations: 0.8116 MB / 0.9634 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.781, allocations: 5.906 kB / 0.9634 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.781, allocations: 0 / 0.9634 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.781, allocations: 1.125 kB / 0.9634 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.7814, allocations: 0.5312 MB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.7826, allocations: 1.733 MB / 0.9656 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.7829, allocations: 0.6867 MB / 0.9663 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.106e-05/0.7829, allocations: 6.297 kB / 0.9663 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.783, allocations: 18.33 kB / 0.9663 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.783, allocations: 3.938 kB / 0.9663 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.7936, allocations: 1.321 MB / 0.9676 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.7938, allocations: 222.5 kB / 0.9678 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.482, allocations: 5.375 kB / 0.9678 GB, free: 11.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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