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.001614/0.001614, allocations: 109 kB / 16.37 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.001738/0.001739, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.472/2.472, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 64.72 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3218, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001782/0.3236, allocations: 0.6723 MB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000823/0.3244, allocations: 0.8351 MB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.3245, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.911e-05/0.3246, allocations: 7.922 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.3247, allocations: 3.938 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.711e-05/0.3248, allocations: 27.92 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3249, allocations: 71.81 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.325, allocations: 31.98 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.3251, allocations: 35.91 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.3252, allocations: 47.81 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3252, allocations: 4 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.3253, allocations: 4 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.3253, allocations: 27.92 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.3254, allocations: 31.86 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3255, allocations: 95.67 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3255, allocations: 3.938 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3255, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.3255, allocations: 0 / 1.029 GB, free: 152 kB / 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.0005565/0.3261, allocations: 403.2 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3261, allocations: 8.031 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.3261, allocations: 12.84 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3263, allocations: 188.3 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3264, allocations: 4.375 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3264, allocations: 8.375 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.3267, allocations: 163.7 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3267, allocations: 192 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3268, allocations: 7.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3268, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.3272, allocations: 167.8 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.3277, allocations: 440.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.328, allocations: 121 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.3282, allocations: 73.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3282, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3282, allocations: 38.5 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3283, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0006603/0.3289, allocations: 229.4 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.329, allocations: 81.36 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.3291, allocations: 129.7 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3291, allocations: 29.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3291, allocations: 92.03 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3292, allocations: 16.05 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3292, allocations: 25.66 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.3293, allocations: 314.8 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3295, allocations: 67.92 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.3297, allocations: 77.62 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.33, allocations: 125.6 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.33, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004038/0.3304, allocations: 169.4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3305, allocations: 4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3305, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3305, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3307, allocations: 28.03 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3307, allocations: 7.875 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3308, allocations: 23.91 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3308, allocations: 4 kB / 1.032 GB, free: 12.89 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 8.817e-05/0.3309, allocations: 125.8 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3309, allocations: 4.281 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.331, allocations: 11.53 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.331, allocations: 11.92 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.331, allocations: 3.938 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.331, allocations: 3.938 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.3312, allocations: 193.6 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3312, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3314, allocations: 23.97 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3314, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3314, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3314, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3314, allocations: 7.938 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.3319, allocations: 330.7 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3319, allocations: 81.02 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3319, allocations: 8 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3321, allocations: 23.91 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.3322, allocations: 23.91 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3322, allocations: 7.984 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.3323, allocations: 91.27 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3323, allocations: 0 / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002663/0.3325, allocations: 16 kB / 1.032 GB, free: 11.84 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.0001049/0.3327, allocations: 99.25 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.3331, allocations: 143.8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3331, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.3333, allocations: 87.89 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3336, allocations: 12.25 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.334, allocations: 202.1 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3343, allocations: 0.7002 MB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.377e-05/0.3344, allocations: 23.98 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.3344, allocations: 19.36 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of SimCode: time 1.393e-06/0.3344, allocations: 0 / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of Templates: time 0.003237/0.3377, allocations: 1.264 MB / 1.035 GB, free: 9.234 MB / 0.8106 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 -s gbode -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