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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001064/0.001064, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005733/0.0005734, allocations: 15.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8765/0.8771, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0008225/0.8779, allocations: 357.1 kB / 1.021 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000324/0.8783, allocations: 111.7 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.8783, allocations: 0 / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.328e-05/0.8784, allocations: 4 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.8788, allocations: 35.84 kB / 1.021 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.851e-05/0.8788, allocations: 3.984 kB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.8789, allocations: 12 kB / 1.021 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.879, allocations: 15.98 kB / 1.021 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.8791, allocations: 55.88 kB / 1.021 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.8792, allocations: 7.938 kB / 1.021 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.8792, allocations: 4 kB / 1.021 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.8792, allocations: 0 / 1.021 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.8793, allocations: 19.92 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.8793, allocations: 25.7 kB / 1.021 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.275e-05/0.8794, allocations: 31.94 kB / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.8794, allocations: 0 / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.406e-06/0.8794, allocations: 0 / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8794, allocations: 3.938 kB / 1.021 GB, free: 432 kB / 0.7637 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.0002994/0.8797, allocations: 345.1 kB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.8798, allocations: 8.031 kB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.8798, allocations: 8 kB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.88, allocations: 190.9 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.88, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.88, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.8802, allocations: 80.2 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.8802, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.8802, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8802, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.8803, allocations: 31.92 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.8807, allocations: 0.5973 MB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.8808, allocations: 169.1 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.8808, allocations: 79.28 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.8809, allocations: 105.8 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8809, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.468e-05/0.881, allocations: 45.52 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.881, allocations: 130.7 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.8812, allocations: 155.7 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.8812, allocations: 33.64 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.8813, allocations: 96.12 kB / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.8813, allocations: 0 / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.8813, allocations: 0 / 1.023 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8814, allocations: 318.8 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-06/0.8814, allocations: 3.938 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.8814, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.8815, allocations: 79.27 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/0.8815, allocations: 79.31 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.302e-05/0.8815, allocations: 41.55 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.8816, allocations: 79.28 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.8816, allocations: 75.28 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.076e-05/0.8817, allocations: 162.5 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.459e-05/0.8817, allocations: 75.28 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.109e-05/0.8817, allocations: 150.6 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.8819, allocations: 91.2 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.8819, allocations: 79.28 kB / 1.025 GB, free: 12.91 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.8821, allocations: 268.4 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.8821, allocations: 116.8 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.8822, allocations: 108.9 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-05/0.8822, allocations: 180.3 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-05/0.8823, allocations: 184.2 kB / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-05/0.8824, allocations: 184.2 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.8826, allocations: 417.1 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/0.8826, allocations: 105 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.8827, allocations: 101.3 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.8827, allocations: 192.2 kB / 1.026 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.8828, allocations: 176.3 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-05/0.8829, allocations: 184.2 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.027e-05/0.8829, allocations: 184.2 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.8831, allocations: 319.6 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.8831, allocations: 186 kB / 1.027 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.8832, allocations: 184.2 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.8833, allocations: 101 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.8834, allocations: 184.2 kB / 1.028 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.8834, allocations: 105 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.8835, allocations: 132.6 kB / 1.028 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8835, allocations: 0 / 1.028 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002467/0.8837, allocations: 0 / 1.028 GB, free: 9.156 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.8839, allocations: 174.5 kB / 1.028 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.368e-05/0.8839, allocations: 0 / 1.028 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8839, allocations: 0 / 1.028 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.8839, allocations: 3.938 kB / 1.028 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.8842, allocations: 0.5302 MB / 1.029 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.8845, allocations: 202.3 kB / 1.029 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.8848, allocations: 0.7004 MB / 1.03 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.8848, allocations: 11.94 kB / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.8848, allocations: 7.438 kB / 1.03 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8848, allocations: 0 / 1.03 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.002245/0.8871, allocations: 396.4 kB / 1.03 GB, free: 7.074 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches