Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_10_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.009548/0.009548, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.00191/0.00191, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.394/1.394, 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 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8756, allocations: 151.6 MB / 1.166 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001807/0.8774, allocations: 0.6433 MB / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.8778, allocations: 111.7 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.8779, allocations: 7.938 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.878, allocations: 0 / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.8784, allocations: 31.84 kB / 1.167 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.223e-05/0.8784, allocations: 7.984 kB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.8785, allocations: 23.98 kB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.8786, allocations: 23.98 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.8788, allocations: 55.89 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.8788, allocations: 11.92 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.8789, allocations: 4 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.8789, allocations: 8 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.8789, allocations: 15.92 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.879, allocations: 19.88 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.881e-05/0.8791, allocations: 47.81 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8791, allocations: 4 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8791, allocations: 0 / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8791, allocations: 0 / 1.167 GB, free: 2.816 MB / 0.8887 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.0004563/0.8795, allocations: 349.5 kB / 1.167 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.8796, allocations: 12.92 kB / 1.167 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.8797, allocations: 38.75 kB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.8797, allocations: 12.84 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.8799, allocations: 180.4 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.8799, allocations: 4.375 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.8799, allocations: 384 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.8801, allocations: 84.75 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8801, allocations: 3.938 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.8801, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8801, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.648e-05/0.8802, allocations: 31.91 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.8808, allocations: 0.6151 MB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.8809, allocations: 165.1 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.8809, allocations: 84.14 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.881, allocations: 75.28 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.881, allocations: 109.8 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.881, allocations: 0 / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.719e-05/0.8811, allocations: 33.55 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.8812, allocations: 134.7 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.8814, allocations: 168.1 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.8814, allocations: 25.7 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.8814, allocations: 92.14 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.8815, allocations: 0 / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.8815, allocations: 9.719 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8816, allocations: 322.8 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-06/0.8816, allocations: 3.938 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.8817, allocations: 0 / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.8817, allocations: 83.31 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.353e-05/0.8818, allocations: 75.28 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.413e-05/0.8818, allocations: 33.64 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.8819, allocations: 79.28 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/0.8819, allocations: 79.27 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.495e-05/0.882, allocations: 154.6 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.83e-05/0.882, allocations: 79.22 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.838e-05/0.8821, allocations: 158.6 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.8823, allocations: 91.06 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.8823, allocations: 75.28 kB / 1.17 GB, free: 15.16 MB / 0.9044 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.0001359/0.8825, allocations: 268.4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.8825, allocations: 108.9 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.8826, allocations: 116.8 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/0.8827, allocations: 180.3 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-05/0.8827, allocations: 188.2 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/0.8828, allocations: 184.2 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.883, allocations: 413.2 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.8831, allocations: 104.9 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.8831, allocations: 109 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.557e-05/0.8832, allocations: 192.2 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.8833, allocations: 176.6 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.6e-05/0.8833, allocations: 188.2 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-05/0.8834, allocations: 180.3 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.8835, allocations: 319.7 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.8836, allocations: 186 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.8837, allocations: 180.2 kB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.8838, allocations: 108.9 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.8838, allocations: 188.2 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.8839, allocations: 108.9 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.8839, allocations: 119.2 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/0.884, allocations: 0 / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002861/0.8842, allocations: 4 kB / 1.174 GB, free: 11.38 MB / 0.9044 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.0003493/0.8846, allocations: 0.8165 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.515e-05/0.8847, allocations: 3.938 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8847, allocations: 3.938 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.8847, allocations: 0 / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.885, allocations: 466.3 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.8864, allocations: 1.82 MB / 1.177 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.8867, allocations: 0.6924 MB / 1.178 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.8867, allocations: 4 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.8868, allocations: 11.44 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.8868, allocations: 0 / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.9046, allocations: 1.552 MB / 1.179 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/8.345, allocations: 10.41 kB / 1.179 GB, free: 5.992 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches