Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001569/0.001576, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002053, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.61 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001969/0.3092, allocations: 0.7326 MB / 1.053 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.3101, allocations: 0.8429 MB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.3102, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.3103, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.3104, allocations: 19.91 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.875e-05/0.3105, allocations: 8 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3106, allocations: 71.81 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3108, allocations: 35.89 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.3108, allocations: 27.86 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.3109, allocations: 35.89 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.311, allocations: 4 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.311, allocations: 4 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.311, allocations: 23.91 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.3111, allocations: 35.78 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.447e-05/0.3112, allocations: 67.89 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3112, allocations: 4 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3112, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3112, allocations: 0 / 1.055 GB, free: 6.406 MB / 0.8106 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.0006532/0.3119, allocations: 395.5 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3119, allocations: 15.95 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.312, allocations: 8.844 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.3122, allocations: 192.3 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.3122, allocations: 8.375 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3122, allocations: 8.375 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.3126, allocations: 159.8 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3126, allocations: 192 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3126, allocations: 7.875 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3127, allocations: 4 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.3131, allocations: 159.8 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.3137, allocations: 444.6 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.314, allocations: 113.1 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.3142, allocations: 77.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3142, allocations: 4 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3143, allocations: 38.5 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3143, allocations: 3.938 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0007549/0.315, allocations: 225.6 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3151, allocations: 81.11 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3152, allocations: 133.7 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3152, allocations: 25.7 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.3153, allocations: 92.2 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3153, allocations: 11.88 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.3153, allocations: 21.72 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3155, allocations: 322.8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3157, allocations: 63.95 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.3159, allocations: 77.62 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3163, allocations: 137.5 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3163, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004475/0.3168, allocations: 161.4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3168, allocations: 4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3168, allocations: 4.062 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3168, allocations: 4 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.317, allocations: 23.91 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.317, allocations: 3.938 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.3171, allocations: 23.91 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3172, allocations: 0 / 1.058 GB, free: 3.145 MB / 0.8106 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.0001046/0.3173, allocations: 129.8 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.3173, allocations: 11.91 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.3173, allocations: 7.531 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3174, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3174, allocations: 7.938 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3174, allocations: 3.984 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3176, allocations: 189.6 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3176, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3178, allocations: 23.97 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3178, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3178, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3178, allocations: 4.375 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3178, allocations: 3.938 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.3183, allocations: 330.6 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.3184, allocations: 89.16 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3184, allocations: 3.938 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3186, allocations: 19.95 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3187, allocations: 27.89 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3187, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.3187, allocations: 99.27 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3187, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002772/0.319, allocations: 12 kB / 1.058 GB, free: 2.098 MB / 0.8106 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.0001194/0.3192, allocations: 99.25 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.3196, allocations: 139.8 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3196, allocations: 0 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3199, allocations: 88.03 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3202, allocations: 15.92 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.3207, allocations: 241.5 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.321, allocations: 0.7044 MB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.3211, allocations: 11.44 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3211, allocations: 0 / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of Templates: time 0.00262/0.3237, allocations: 1.211 MB / 1.061 GB, free: 15.54 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches