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.001424/0.001424, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001258/0.001259, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.48 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4222, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.003034/0.4253, allocations: 0.5948 MB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005678/0.4259, allocations: 111.7 kB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.426, allocations: 4 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.4261, allocations: 15.86 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.4266, allocations: 23.92 kB / 0.9519 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.263e-05/0.4267, allocations: 7.984 kB / 0.9519 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.4269, allocations: 27.92 kB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.4271, allocations: 23.97 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.4273, allocations: 51.91 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.4274, allocations: 19.92 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.4275, allocations: 7.938 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.4275, allocations: 0 / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.4276, allocations: 18.09 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.4276, allocations: 15.88 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.4278, allocations: 47.81 kB / 0.9521 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.4278, allocations: 3.984 kB / 0.9521 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4278, allocations: 4 kB / 0.9521 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4279, allocations: 0 / 0.9521 GB, free: 7.094 MB / 0.7325 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.0005026/0.4284, allocations: 344.4 kB / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4284, allocations: 16.03 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.4285, allocations: 4.844 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.4288, allocations: 192.2 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4289, allocations: 384 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.4289, allocations: 4.375 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.4292, allocations: 80.38 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4292, allocations: 0 / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.4293, allocations: 3.984 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4293, allocations: 8 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.4294, allocations: 23.92 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.4302, allocations: 0.5972 MB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4303, allocations: 173.1 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.4304, allocations: 84.14 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.4305, allocations: 79.27 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.837e-05/0.4306, allocations: 105.8 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.4306, allocations: 0 / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001236/0.4307, allocations: 37.55 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.4309, allocations: 134.7 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.4311, allocations: 161.7 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.4312, allocations: 25.7 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.4313, allocations: 96.12 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.4313, allocations: 3.938 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.4314, allocations: 13.72 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.4316, allocations: 318.8 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.4316, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.4317, allocations: 8 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.4317, allocations: 75.28 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.56e-05/0.4318, allocations: 75.28 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001107/0.4319, allocations: 41.53 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.432, allocations: 85.94 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.432, allocations: 75.28 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.4322, allocations: 154.5 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.4322, allocations: 75.31 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.4323, allocations: 166.5 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.4326, allocations: 83.25 kB / 0.9553 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.4327, allocations: 79.22 kB / 0.9554 GB, free: 3.48 MB / 0.7325 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.0001965/0.4329, allocations: 274.4 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.433, allocations: 112.8 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.663e-05/0.4331, allocations: 116.8 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/0.4332, allocations: 176.3 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001137/0.4334, allocations: 188.1 kB / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-05/0.4335, allocations: 176.3 kB / 0.9564 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.4339, allocations: 421.4 kB / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.174e-05/0.434, allocations: 105 kB / 0.9569 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.434, allocations: 113 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.5e-05/0.4342, allocations: 180.2 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.4343, allocations: 176.3 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001056/0.4344, allocations: 184.2 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/0.4345, allocations: 184.2 kB / 0.9577 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.4348, allocations: 315.7 kB / 0.958 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.435, allocations: 186.1 kB / 0.9581 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4351, allocations: 184.2 kB / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4353, allocations: 105 kB / 0.9584 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4354, allocations: 192.1 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.4355, allocations: 101 kB / 0.9587 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001672/0.4356, allocations: 123.2 kB / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4357, allocations: 0 / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000465/0.4361, allocations: 4 kB / 0.9588 GB, free: 15.72 MB / 0.7481 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.0002145/0.4364, allocations: 178.5 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.4365, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4365, allocations: 4 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.4365, allocations: 3.938 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.4371, allocations: 463.6 kB / 0.9594 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.4375, allocations: 200.3 kB / 0.9596 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.4379, allocations: 0.6883 MB / 0.9603 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.438, allocations: 11.98 kB / 0.9603 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.438, allocations: 7.438 kB / 0.9603 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.4381, allocations: 0 / 0.9603 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.004539/0.4426, allocations: 404.5 kB / 0.9607 GB, free: 13.72 MB / 0.7481 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 -s cvode -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/jenkins1/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