Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001389/0.001389, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00148/0.00148, allocations: 188.7 kB / 16.25 MB, free: 6.629 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 66.25 kB / 0.9115 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.391, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001983/0.393, allocations: 0.7054 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.3935, allocations: 109.9 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3935, allocations: 3.938 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.3937, allocations: 0 / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.3941, allocations: 31.92 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.252e-05/0.3942, allocations: 7.984 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.3943, allocations: 27.97 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3944, allocations: 20 kB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3945, allocations: 59.83 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3946, allocations: 19.92 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3946, allocations: 0 / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.3946, allocations: 8 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.3947, allocations: 19.92 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.3947, allocations: 19.86 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.258e-05/0.3948, allocations: 47.81 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3949, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3949, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3949, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8262 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.0003921/0.3953, allocations: 351.5 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3953, allocations: 12.03 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3954, allocations: 8.922 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3956, allocations: 180.3 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3956, allocations: 384 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3956, allocations: 8.375 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3957, allocations: 76.75 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3958, allocations: 192 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3958, allocations: 7.938 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3958, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.3958, allocations: 27.92 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.3963, allocations: 0.6089 MB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.3964, allocations: 169.1 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.3965, allocations: 80.14 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3965, allocations: 79.28 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3965, allocations: 109.8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3965, allocations: 0 / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.521e-05/0.3966, allocations: 37.55 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.3967, allocations: 126.7 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3968, allocations: 155.4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3969, allocations: 29.7 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.3969, allocations: 96.12 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.3969, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.397, allocations: 17.72 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3971, allocations: 314.8 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/0.3971, allocations: 3.938 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.3971, allocations: 7.984 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.3971, allocations: 79.28 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.3972, allocations: 79.31 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.339e-05/0.3972, allocations: 33.64 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.3973, allocations: 83.28 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.3973, allocations: 75.28 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.865e-05/0.3974, allocations: 150.6 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.3974, allocations: 79.22 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.098e-05/0.3975, allocations: 162.5 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3976, allocations: 91.06 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3976, allocations: 75.28 kB / 1.072 GB, free: 6.129 MB / 0.8262 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.0001218/0.3978, allocations: 274.1 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.3978, allocations: 105.2 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.3979, allocations: 124.6 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/0.398, allocations: 184.2 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-05/0.3981, allocations: 188.2 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.239e-05/0.3981, allocations: 184.2 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3984, allocations: 417.2 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/0.3984, allocations: 104.9 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.3985, allocations: 101 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.459e-05/0.3986, allocations: 184.2 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/0.3986, allocations: 184.3 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.929e-05/0.3987, allocations: 180.2 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-05/0.3988, allocations: 180.2 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3989, allocations: 319.6 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.399, allocations: 186 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.3991, allocations: 184.2 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.3992, allocations: 101 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.3993, allocations: 180.2 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.3993, allocations: 108.9 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001019/0.3994, allocations: 128.5 kB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3995, allocations: 4 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002608/0.3997, allocations: 0 / 1.075 GB, free: 2.359 MB / 0.8262 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.0001732/0.3999, allocations: 182.5 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.116e-05/0.4, allocations: 0 / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4, allocations: 3.938 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.4004, allocations: 465 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.4007, allocations: 224 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.401, allocations: 0.6924 MB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.401, allocations: 7.984 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.401, allocations: 7.438 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4011, allocations: 0 / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of Templates: time 0.002602/0.4037, allocations: 428.5 kB / 1.077 GB, free: 320 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1)