Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.RealVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.001412/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001736/0.001736, allocations: 189 kB / 16.14 MB, free: 6.711 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.367/2.367, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7549, allocations: 140.4 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001846/0.7568, allocations: 0.7044 MB / 0.9497 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.7572, allocations: 112.2 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.7573, allocations: 0 / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.7574, allocations: 9.031 kB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.7577, allocations: 18.7 kB / 0.9499 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.407e-05/0.7577, allocations: 1.75 kB / 0.9499 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.586e-05/0.7578, allocations: 32.5 kB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.7579, allocations: 19.44 kB / 0.9499 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.758, allocations: 56.41 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.7581, allocations: 16.39 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.7581, allocations: 1.375 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.7581, allocations: 2.625 kB / 0.95 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.7582, allocations: 26.02 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.7582, allocations: 15.34 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.7583, allocations: 45.52 kB / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.7583, allocations: 0 / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7583, allocations: 0 / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7583, allocations: 0 / 0.9501 GB, free: 8.32 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.000264/0.7586, allocations: 355.6 kB / 0.9504 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7586, allocations: 9.938 kB / 0.9504 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.7587, allocations: 35.75 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.7587, allocations: 9.312 kB / 0.9505 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.7588, allocations: 184.6 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.7588, allocations: 5.438 kB / 0.9507 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.7589, allocations: 3.031 kB / 0.9507 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.759, allocations: 78.72 kB / 0.9507 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.759, allocations: 7.922 kB / 0.9507 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.759, allocations: 5.406 kB / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.759, allocations: 0 / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.7591, allocations: 25.89 kB / 0.9508 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.7594, allocations: 0.595 MB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.7594, allocations: 174.4 kB / 0.9515 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.7594, allocations: 84.14 kB / 0.9516 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7595, allocations: 75.28 kB / 0.9517 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.7595, allocations: 107.2 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7595, allocations: 0 / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.34e-05/0.7596, allocations: 37.72 kB / 0.9518 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.7596, allocations: 130.6 kB / 0.9519 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.7597, allocations: 161.4 kB / 0.9521 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.7597, allocations: 29.7 kB / 0.9521 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.7598, allocations: 101.2 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.7598, allocations: 0 / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.7598, allocations: 11.03 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.7598, allocations: 313.3 kB / 0.9525 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.7599, allocations: 0 / 0.9525 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.7599, allocations: 14.36 kB / 0.9525 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.235e-05/0.7599, allocations: 76.75 kB / 0.9526 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.7599, allocations: 79.34 kB / 0.9527 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.959e-05/0.76, allocations: 37.98 kB / 0.9527 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.76, allocations: 82.25 kB / 0.9528 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.76, allocations: 80.69 kB / 0.9529 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.76, allocations: 152.1 kB / 0.953 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-05/0.7601, allocations: 79.22 kB / 0.9531 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.7601, allocations: 160 kB / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.7602, allocations: 84.72 kB / 0.9533 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.7602, allocations: 80.78 kB / 0.9534 GB, free: 4.828 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.647e-05/0.7603, allocations: 267.3 kB / 0.9537 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.7603, allocations: 111.6 kB / 0.9538 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.7604, allocations: 116.6 kB / 0.9539 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.7604, allocations: 180.3 kB / 0.9541 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.7604, allocations: 181.6 kB / 0.9542 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.7604, allocations: 189.6 kB / 0.9544 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.7606, allocations: 413.6 kB / 0.9548 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.7606, allocations: 106.3 kB / 0.9549 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.7606, allocations: 109 kB / 0.955 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/0.7606, allocations: 185.7 kB / 0.9552 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.7607, allocations: 185.6 kB / 0.9554 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-05/0.7607, allocations: 181.6 kB / 0.9555 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-05/0.7607, allocations: 180.2 kB / 0.9557 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.683e-05/0.7608, allocations: 318.5 kB / 0.956 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.7608, allocations: 184.8 kB / 0.9562 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.7609, allocations: 177.6 kB / 0.9564 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.7609, allocations: 106.3 kB / 0.9565 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.761, allocations: 180.2 kB / 0.9566 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.761, allocations: 114.3 kB / 0.9567 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.7611, allocations: 125.2 kB / 0.9569 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7611, allocations: 0 / 0.9569 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000238/0.7613, allocations: 2.75 kB / 0.9569 GB, free: 1.137 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.00022/0.7615, allocations: 0.8119 MB / 0.9577 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.006e-05/0.7616, allocations: 5.375 kB / 0.9577 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7616, allocations: 0 / 0.9577 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.7616, allocations: 9.25 kB / 0.9577 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.7619, allocations: 0.5198 MB / 0.9582 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.7633, allocations: 1.825 MB / 0.96 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.7635, allocations: 0.6932 MB / 0.9606 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.7636, allocations: 2.688 kB / 0.9606 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.7636, allocations: 17.23 kB / 0.9607 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7636, allocations: 0 / 0.9607 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.7753, allocations: 1.417 MB / 0.962 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/0.7757, allocations: 221.7 kB / 0.9622 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.458, allocations: 4 kB / 0.9623 GB, free: 12.38 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches