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.001176/0.001176, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001114/0.001114, allocations: 191 kB / 17.29 MB, free: 5.516 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 14.99 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.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.03 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, 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.002856/0.3166, allocations: 0.5888 MB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.3171, allocations: 119.7 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.3172, allocations: 0 / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3173, allocations: 3.938 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.3178, allocations: 27.91 kB / 0.9519 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.187e-05/0.3179, allocations: 8 kB / 0.9519 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.318, allocations: 31.86 kB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3181, allocations: 23.98 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3183, allocations: 51.94 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.3184, allocations: 15.92 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3184, allocations: 0 / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.3184, allocations: 4 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.3185, allocations: 18.05 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.3186, allocations: 19.86 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3187, allocations: 47.83 kB / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3187, allocations: 0 / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3187, allocations: 0 / 0.9521 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3187, allocations: 0 / 0.9521 GB, free: 7.109 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.0004622/0.3192, allocations: 359.2 kB / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3193, allocations: 11.97 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3193, allocations: 8.844 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3195, allocations: 184.2 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3196, allocations: 4.375 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3196, allocations: 384 / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3198, allocations: 88.38 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3198, allocations: 3.938 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3198, allocations: 0 / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3198, allocations: 0 / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.3199, allocations: 19.98 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.3205, allocations: 0.6051 MB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3206, allocations: 169.1 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.3207, allocations: 84.08 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.3207, allocations: 75.28 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.804e-05/0.3208, allocations: 113.8 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3208, allocations: 0 / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.625e-05/0.3209, allocations: 37.61 kB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.321, allocations: 126.7 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.3212, allocations: 159.9 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3212, allocations: 29.69 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.3213, allocations: 92.14 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.3213, allocations: 4 kB / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3214, allocations: 9.719 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3215, allocations: 322.8 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.3215, allocations: 3.938 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.3215, allocations: 0 / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.3216, allocations: 79.28 kB / 0.9546 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.182e-05/0.3216, allocations: 75.28 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.875e-05/0.3217, allocations: 37.61 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.3218, allocations: 83.31 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/0.3218, allocations: 79.22 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.651e-05/0.3219, allocations: 158.5 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/0.322, allocations: 79.28 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.494e-05/0.3221, allocations: 158.4 kB / 0.9552 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3222, allocations: 83.31 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.3223, allocations: 83.22 kB / 0.9554 GB, free: 3.492 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.0001883/0.3225, allocations: 270.4 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3226, allocations: 116.8 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.3227, allocations: 116.8 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.3228, allocations: 184.2 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/0.3229, allocations: 188.2 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.945e-05/0.323, allocations: 180.2 kB / 0.9564 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3234, allocations: 413.5 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.768e-05/0.3235, allocations: 105 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.3236, allocations: 109 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.38e-05/0.3237, allocations: 180.3 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.3238, allocations: 188.2 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.873e-05/0.3239, allocations: 176.3 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.996e-05/0.3239, allocations: 188.2 kB / 0.9577 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3241, allocations: 307.7 kB / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3243, allocations: 198 kB / 0.9581 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/0.3244, allocations: 176.3 kB / 0.9583 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3245, allocations: 105 kB / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3247, allocations: 188.1 kB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.3247, allocations: 105 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000137/0.3249, allocations: 125.3 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3249, allocations: 0 / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000447/0.3254, allocations: 8 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.0001729/0.3256, allocations: 170.5 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.004e-05/0.3256, allocations: 3.938 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3256, allocations: 4 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.3257, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.3262, allocations: 465.7 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.3266, allocations: 200.3 kB / 0.9596 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.327, allocations: 0.6922 MB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.327, allocations: 4 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.3271, allocations: 11.44 kB / 0.9603 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.3271, allocations: 0 / 0.9603 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of Templates: time 0.003338/0.3304, allocations: 404.5 kB / 0.9607 GB, free: 13.73 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 gbode -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