Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_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.005791/0.005791, allocations: 101.9 kB / 15.73 MB, free: 6 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.001182/0.001182, allocations: 196 kB / 16.67 MB, free: 5.926 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.84 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8743, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001923/0.8763, allocations: 0.6362 MB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.8767, allocations: 111.7 kB / 1.208 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.8768, allocations: 0 / 1.208 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.8769, allocations: 7.938 kB / 1.208 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.8773, allocations: 31.84 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.846e-05/0.8774, allocations: 4 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.8775, allocations: 23.98 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.8776, allocations: 23.97 kB / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.8777, allocations: 63.83 kB / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.8778, allocations: 19.92 kB / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.8778, allocations: 0 / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.8779, allocations: 4 kB / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.8779, allocations: 8 kB / 1.208 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.878, allocations: 23.84 kB / 1.208 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.8781, allocations: 47.83 kB / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8781, allocations: 0 / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8781, allocations: 0 / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8781, allocations: 0 / 1.208 GB, free: 12.53 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.0003426/0.8784, allocations: 357.5 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8785, allocations: 12.03 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.8785, allocations: 30.75 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.8786, allocations: 8.844 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.8787, allocations: 184.2 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8788, allocations: 4.375 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.8788, allocations: 8.375 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.8789, allocations: 72.81 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.8789, allocations: 3.938 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.879, allocations: 4 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.879, allocations: 4 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.879, allocations: 31.91 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.8795, allocations: 0.6049 MB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.8795, allocations: 169.1 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.8796, allocations: 88.14 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.8796, allocations: 75.28 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.8796, allocations: 105.8 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8797, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.512e-05/0.8797, allocations: 37.55 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.8798, allocations: 130.7 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.8799, allocations: 163.8 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.88, allocations: 25.7 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.88, allocations: 92.14 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.88, allocations: 0 / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.88, allocations: 9.719 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8801, allocations: 322.8 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.8802, allocations: 0 / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.8802, allocations: 8 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.8802, allocations: 79.22 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.8802, allocations: 75.28 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.267e-05/0.8803, allocations: 37.62 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.8804, allocations: 83.28 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.8804, allocations: 79.28 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.712e-05/0.8804, allocations: 154.5 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.19e-05/0.8805, allocations: 79.31 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.493e-05/0.8805, allocations: 150.6 kB / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.8807, allocations: 91.06 kB / 1.211 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.8807, allocations: 75.28 kB / 1.212 GB, free: 8.871 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.0001072/0.8808, allocations: 272.4 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.8809, allocations: 116.8 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.8809, allocations: 112.8 kB / 1.212 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.881, allocations: 180.3 kB / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-05/0.881, allocations: 180.2 kB / 1.212 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/0.8811, allocations: 184.2 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.8813, allocations: 421.1 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/0.8814, allocations: 109 kB / 1.213 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.8814, allocations: 108.9 kB / 1.213 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/0.8815, allocations: 184.2 kB / 1.213 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.8815, allocations: 176.6 kB / 1.213 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-05/0.8816, allocations: 188.2 kB / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.665e-05/0.8817, allocations: 184.3 kB / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.8818, allocations: 307.7 kB / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.8819, allocations: 190 kB / 1.214 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.8819, allocations: 184.2 kB / 1.215 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.882, allocations: 109 kB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.8821, allocations: 188.1 kB / 1.215 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.8821, allocations: 101 kB / 1.215 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.414e-05/0.8822, allocations: 119.2 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8822, allocations: 0 / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002468/0.8824, allocations: 4 kB / 1.215 GB, free: 5.102 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.0003883/0.8828, allocations: 0.8203 MB / 1.216 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.904e-05/0.8829, allocations: 4 kB / 1.216 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8829, allocations: 0 / 1.216 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.8829, allocations: 0 / 1.216 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.8833, allocations: 477.2 kB / 1.216 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.8846, allocations: 1.829 MB / 1.218 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.8849, allocations: 0.6885 MB / 1.219 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.8849, allocations: 4 kB / 1.219 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.8849, allocations: 15.44 kB / 1.219 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8849, allocations: 0 / 1.219 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.9027, allocations: 1.571 MB / 1.22 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/8.309, allocations: 10.09 kB / 1.22 GB, free: 15.7 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches