Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001211/0.001212, allocations: 168.7 kB / 15.95 MB, free: 204 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.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.297 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.513/2.513, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8626, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0007098/0.8634, allocations: 327.1 kB / 0.9548 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.8637, allocations: 110.6 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.8638, allocations: 1.094 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.956e-05/0.8638, allocations: 0 / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.8641, allocations: 27.28 kB / 0.9549 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.034e-05/0.8642, allocations: 9.141 kB / 0.9549 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.8643, allocations: 22.95 kB / 0.9549 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.8644, allocations: 22.92 kB / 0.9549 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8645, allocations: 48.94 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.8645, allocations: 16.06 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.8646, allocations: 0.9688 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-06/0.8646, allocations: 1.312 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.8646, allocations: 8.594 kB / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.8646, allocations: 36.86 kB / 0.9551 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.208e-05/0.8647, allocations: 34.59 kB / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8647, allocations: 0 / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8647, allocations: 0 / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.8647, allocations: 0.9062 kB / 0.9551 GB, free: 7.242 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.000228/0.8649, allocations: 348.1 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.865, allocations: 8.438 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.865, allocations: 7.922 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.8652, allocations: 179 kB / 0.9556 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.8652, allocations: 5.5 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.8652, allocations: 3.906 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.8653, allocations: 81.09 kB / 0.9557 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8653, allocations: 3.938 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8653, allocations: 0 / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8654, allocations: 1.438 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.8654, allocations: 29.06 kB / 0.9557 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.8658, allocations: 0.5995 MB / 0.9563 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.749e-05/0.8658, allocations: 178.3 kB / 0.9565 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.8658, allocations: 80.14 kB / 0.9566 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.8658, allocations: 83.27 kB / 0.9566 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.8659, allocations: 107.3 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.8659, allocations: 0 / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.215e-05/0.8659, allocations: 37.39 kB / 0.9568 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.866, allocations: 130.7 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.8661, allocations: 158.4 kB / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.8661, allocations: 26.95 kB / 0.9571 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.8661, allocations: 95.3 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.8662, allocations: 0 / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.8662, allocations: 0 / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.8662, allocations: 317.9 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.8662, allocations: 0 / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.8662, allocations: 6.406 kB / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.74e-05/0.8663, allocations: 76.72 kB / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.8663, allocations: 75.28 kB / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.04e-05/0.8663, allocations: 42.06 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.8664, allocations: 91.84 kB / 0.9577 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8664, allocations: 76.38 kB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.8664, allocations: 155.5 kB / 0.958 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.225e-05/0.8664, allocations: 81.61 kB / 0.958 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.8665, allocations: 151.8 kB / 0.9582 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.8666, allocations: 84.69 kB / 0.9583 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.8666, allocations: 80.69 kB / 0.9583 GB, free: 3.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.8667, allocations: 271.1 kB / 0.9586 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.8667, allocations: 112.2 kB / 0.9587 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.8667, allocations: 119.4 kB / 0.9588 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.8668, allocations: 177.8 kB / 0.959 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/0.8668, allocations: 185.2 kB / 0.9592 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.8668, allocations: 181.3 kB / 0.9593 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.867, allocations: 413.1 kB / 0.9597 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.867, allocations: 106.1 kB / 0.9598 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.867, allocations: 102.3 kB / 0.9599 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-05/0.8671, allocations: 185.2 kB / 0.9601 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.8671, allocations: 193.7 kB / 0.9603 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.717e-05/0.8671, allocations: 184.3 kB / 0.9605 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.727e-05/0.8672, allocations: 185.6 kB / 0.9607 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/0.8672, allocations: 309.1 kB / 0.9609 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.8673, allocations: 190.3 kB / 0.9611 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.8673, allocations: 177.3 kB / 0.9613 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.8674, allocations: 108.9 kB / 0.9614 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.8674, allocations: 181.7 kB / 0.9616 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.8674, allocations: 109.9 kB / 0.9617 GB, free: 228 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.591e-05/0.8675, allocations: 125.3 kB / 0.9618 GB, free: 128 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8675, allocations: 4 kB / 0.9618 GB, free: 124 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002385/0.8678, allocations: 2.969 kB / 0.9618 GB, free: 124 kB / 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 (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.0001388/0.8679, allocations: 175.7 kB / 0.962 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.978e-05/0.868, allocations: 1.312 kB / 0.962 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.868, allocations: 0 / 0.962 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.868, allocations: 1.5 kB / 0.962 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.8683, allocations: 0.5237 MB / 0.9625 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.8686, allocations: 208.6 kB / 0.9627 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.8689, allocations: 0.6871 MB / 0.9634 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.8689, allocations: 10.75 kB / 0.9634 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.8689, allocations: 9.844 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8689, allocations: 0 / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.002376/0.8713, allocations: 397 kB / 0.9638 GB, free: 14.3 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches