Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001587/0.001587, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002511/0.002511, allocations: 192.9 kB / 16.13 MB, free: 6.645 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.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.467/2.467, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8612/0.8632, allocations: 140.4 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001952/0.8652, allocations: 0.7306 MB / 0.9496 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.866, allocations: 0.8284 MB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.8661, allocations: 1.375 kB / 0.9504 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.8662, allocations: 11.92 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.8663, allocations: 6.75 kB / 0.9505 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.8664, allocations: 20.09 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.8665, allocations: 64.84 kB / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.8667, allocations: 36.06 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.8668, allocations: 32.16 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.8669, allocations: 37.02 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.8669, allocations: 2.906 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.8669, allocations: 4.719 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.867, allocations: 20.27 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.867, allocations: 31.42 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.8671, allocations: 80.89 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8672, allocations: 8 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8672, allocations: 1.344 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.8672, allocations: 0 / 0.9508 GB, free: 7.707 MB / 0.7169 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.0006184/0.8678, allocations: 399.4 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.8679, allocations: 9 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.8679, allocations: 8.625 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.8681, allocations: 198.3 kB / 0.9514 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.8681, allocations: 6.812 kB / 0.9514 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.8681, allocations: 8.344 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.8685, allocations: 158.7 kB / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8685, allocations: 8.062 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.8686, allocations: 4.938 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.8686, allocations: 2.156 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.869, allocations: 160.2 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.8695, allocations: 445.8 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.8698, allocations: 113.8 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.87, allocations: 78.72 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.8701, allocations: 9.109 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.8701, allocations: 31.84 kB / 0.9524 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.8701, allocations: 0 / 0.9524 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007226/0.8708, allocations: 228.1 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.8709, allocations: 78.2 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.871, allocations: 130.4 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.871, allocations: 30.64 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.871, allocations: 102.8 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.8711, allocations: 6 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.8711, allocations: 24.86 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.8712, allocations: 321.4 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.8714, allocations: 64.92 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.8716, allocations: 81.75 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.8719, allocations: 128.9 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8719, allocations: 0 / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003928/0.8723, allocations: 165.9 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8724, allocations: 5.125 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.8724, allocations: 5.344 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.8724, allocations: 0 / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.8726, allocations: 26.75 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8726, allocations: 5.188 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.8727, allocations: 16.78 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.8727, allocations: 1.844 kB / 0.9537 GB, free: 5.164 MB / 0.7169 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.98e-05/0.8728, allocations: 124.5 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.8729, allocations: 6.875 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.8729, allocations: 21.47 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.8729, allocations: 1.781 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8729, allocations: 3.938 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8729, allocations: 1.062 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.8731, allocations: 204.8 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8731, allocations: 0 / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.8733, allocations: 26.12 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8733, allocations: 0 / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.8733, allocations: 1.594 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8733, allocations: 5.438 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8733, allocations: 3.938 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.8738, allocations: 327.7 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.8738, allocations: 87.09 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.8738, allocations: 5.25 kB / 0.9545 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.874, allocations: 12.45 kB / 0.9545 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.8741, allocations: 29.61 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.8741, allocations: 2.375 kB / 0.9545 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.8742, allocations: 97.86 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8742, allocations: 0 / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002653/0.8744, allocations: 18.94 kB / 0.9547 GB, free: 4.277 MB / 0.7169 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.0001222/0.8746, allocations: 102.3 kB / 0.9548 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.875, allocations: 134.6 kB / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.875, allocations: 0 / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.8752, allocations: 96.48 kB / 0.955 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.8756, allocations: 16.27 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.876, allocations: 212 kB / 0.9552 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.8762, allocations: 0.7072 MB / 0.9559 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.012e-05/0.8762, allocations: 18.55 kB / 0.9559 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.8763, allocations: 10 kB / 0.9559 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8763, allocations: 1.312 kB / 0.9559 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.003421/0.8797, allocations: 1.072 MB / 0.957 GB, free: 2.617 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches