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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007621/0.007621, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001395/0.001395, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.402/1.402, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.9509 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001766/1.114, allocations: 0.6028 MB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003716/1.115, allocations: 106.6 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/1.115, allocations: 1.781 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/1.115, allocations: 8.734 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003638/1.115, allocations: 25.72 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.03e-05/1.115, allocations: 3.031 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/1.115, allocations: 25.83 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/1.115, allocations: 26.55 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/1.115, allocations: 59.17 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/1.116, allocations: 19.3 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/1.116, allocations: 2.094 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/1.116, allocations: 6.219 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/1.116, allocations: 16.95 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/1.116, allocations: 16.67 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/1.116, allocations: 51.8 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.116, allocations: 0 / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/1.116, allocations: 1.031 kB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.116, allocations: 0 / 1.089 GB, free: 4.98 MB / 0.8575 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.000268/1.116, allocations: 352.3 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.116, allocations: 9.469 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/1.116, allocations: 3.594 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/1.116, allocations: 188.4 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/1.116, allocations: 6.625 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/1.116, allocations: 7.328 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.116, allocations: 77.48 kB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/1.116, allocations: 0.6094 kB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.117, allocations: 5.094 kB / 1.089 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.117, allocations: 1.125 kB / 1.089 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/1.117, allocations: 25.39 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/1.117, allocations: 0.6115 MB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.41e-05/1.117, allocations: 166.1 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/1.117, allocations: 84.8 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/1.117, allocations: 79.22 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/1.117, allocations: 107.8 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.117, allocations: 1.031 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.617e-05/1.117, allocations: 32.55 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.117, allocations: 127.7 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.117, allocations: 163.8 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/1.117, allocations: 29.7 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/1.117, allocations: 101.7 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/1.117, allocations: 0.9688 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/1.117, allocations: 10.88 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/1.117, allocations: 315.8 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/1.117, allocations: 4 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/1.117, allocations: 3.594 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.601e-05/1.118, allocations: 77.45 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.118, allocations: 83.25 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.198e-05/1.118, allocations: 38.36 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.118, allocations: 83.88 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.118, allocations: 75.94 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/1.118, allocations: 156.1 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.071e-05/1.118, allocations: 76.84 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/1.118, allocations: 156 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/1.118, allocations: 94.05 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/1.118, allocations: 76.31 kB / 1.092 GB, free: 1.605 MB / 0.8575 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.000185/1.118, allocations: 270.6 kB / 1.092 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/1.118, allocations: 109.3 kB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/1.118, allocations: 110 kB / 1.093 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/1.118, allocations: 181.8 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001432/1.118, allocations: 186 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.611e-05/1.118, allocations: 186.1 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/1.119, allocations: 416.8 kB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/1.119, allocations: 103.4 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/1.119, allocations: 110 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/1.119, allocations: 186.1 kB / 1.094 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/1.119, allocations: 177.2 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.529e-05/1.119, allocations: 182.4 kB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/1.119, allocations: 187 kB / 1.094 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/1.119, allocations: 318.2 kB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/1.119, allocations: 187.4 kB / 1.095 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/1.12, allocations: 181.9 kB / 1.095 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/1.12, allocations: 102.6 kB / 1.095 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/1.12, allocations: 190.3 kB / 1.095 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.12, allocations: 106.8 kB / 1.095 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.931e-05/1.12, allocations: 121.4 kB / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.12, allocations: 0 / 1.096 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003014/1.12, allocations: 3.031 kB / 1.096 GB, free: 13.95 MB / 0.8731 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.0001449/1.12, allocations: 173.6 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.665e-05/1.12, allocations: 1.156 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.12, allocations: 0.9062 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/1.12, allocations: 7.938 kB / 1.096 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/1.121, allocations: 463 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/1.121, allocations: 201.7 kB / 1.096 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.121, allocations: 0.6855 MB / 1.097 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.054e-05/1.121, allocations: 4.047 kB / 1.097 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/1.122, allocations: 9.906 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.122, allocations: 4 kB / 1.097 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of Templates: time 0.00261/1.124, allocations: 424.4 kB / 1.098 GB, free: 12.35 MB / 0.8731 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