Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103 kB / 16.35 MB, free: 5.824 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.001442/0.001442, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.325/1.325, 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 10.1.0-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.81 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.296, allocations: 151.7 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002191/0.2983, allocations: 0.6715 MB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2994, allocations: 0.8273 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.2995, allocations: 0 / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.2997, allocations: 11.92 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2998, allocations: 7.922 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.3, allocations: 23.92 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3001, allocations: 75.75 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.3003, allocations: 39.89 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.3004, allocations: 31.92 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3006, allocations: 39.88 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.3006, allocations: 15.94 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.3006, allocations: 7.938 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.3007, allocations: 23.98 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.3008, allocations: 35.78 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.3009, allocations: 87.73 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3009, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.785e-06/0.301, allocations: 4 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.301, allocations: 0 / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007329/0.3017, allocations: 407.1 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3018, allocations: 12.62 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3018, allocations: 4.844 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.302, allocations: 184.3 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.3021, allocations: 8.375 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3021, allocations: 4.375 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.3025, allocations: 155.8 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3025, allocations: 4.188 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3026, allocations: 11.94 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3026, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.303, allocations: 151.8 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.3036, allocations: 448.7 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3039, allocations: 121.1 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.3041, allocations: 71.23 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3042, allocations: 8 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3042, allocations: 34.5 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.3042, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0007042/0.3049, allocations: 233.6 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.305, allocations: 77.11 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.3051, allocations: 133.6 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3051, allocations: 25.7 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.3052, allocations: 99.97 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3052, allocations: 11.91 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.3052, allocations: 13.72 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3053, allocations: 326.9 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3055, allocations: 59.92 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3057, allocations: 77.62 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.3061, allocations: 133.5 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3061, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004301/0.3066, allocations: 161.4 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3066, allocations: 12.06 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3066, allocations: 0 / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3066, allocations: 0 / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3068, allocations: 23.91 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3068, allocations: 7.938 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3069, allocations: 24 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.307, allocations: 0 / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001175/0.3071, allocations: 133.8 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.3071, allocations: 7.906 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.3072, allocations: 11.52 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3072, allocations: 4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3072, allocations: 3.938 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3072, allocations: 0 / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3075, allocations: 193.6 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3075, allocations: 4 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3076, allocations: 19.97 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3076, allocations: 4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3076, allocations: 4 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3077, allocations: 3.938 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3077, allocations: 3.938 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.3082, allocations: 334.6 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.3082, allocations: 85.02 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3083, allocations: 3.984 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3084, allocations: 15.98 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.3085, allocations: 27.91 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3085, allocations: 3.984 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.3086, allocations: 99.58 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3086, allocations: 0 / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002697/0.3089, allocations: 12 kB / 1.024 GB, free: 3.637 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000139/0.309, allocations: 107.2 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.3095, allocations: 135.8 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3095, allocations: 0 / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.3097, allocations: 95.95 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.31, allocations: 8 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.3106, allocations: 202.2 kB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.3109, allocations: 0.7007 MB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.648e-05/0.311, allocations: 20.11 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.3111, allocations: 19.42 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.3111, allocations: 0 / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of Templates: time 0.003959/0.315, allocations: 1.263 MB / 1.027 GB, free: 1.039 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches