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.002068/0.002069, allocations: 105.2 kB / 15.98 MB, free: 6.352 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.002031/0.002031, allocations: 195.5 kB / 16.91 MB, free: 6.188 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.237/2.237, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.2 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3169, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002247/0.3192, allocations: 0.7268 MB / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3204, allocations: 0.8351 MB / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.3204, allocations: 3.938 kB / 0.9513 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.3206, allocations: 4 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3207, allocations: 3.938 kB / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.3208, allocations: 23.97 kB / 0.9513 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.321, allocations: 67.89 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3211, allocations: 39.97 kB / 0.9514 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.3213, allocations: 39.8 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3214, allocations: 35.89 kB / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3214, allocations: 8 kB / 0.9515 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.3214, allocations: 4 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.3215, allocations: 31.91 kB / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.3216, allocations: 31.8 kB / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3217, allocations: 59.88 kB / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3217, allocations: 0 / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3217, allocations: 4 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3217, allocations: 0 / 0.9517 GB, free: 7.289 MB / 0.7325 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.0007148/0.3225, allocations: 411.3 kB / 0.952 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3225, allocations: 12.03 kB / 0.9521 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3226, allocations: 8.828 kB / 0.9521 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3228, allocations: 188.3 kB / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3228, allocations: 8.375 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3228, allocations: 4.375 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.3232, allocations: 159.8 kB / 0.9524 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3233, allocations: 192 / 0.9524 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3233, allocations: 7.938 kB / 0.9524 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3233, allocations: 0 / 0.9524 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.3238, allocations: 159.7 kB / 0.9526 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.3243, allocations: 452.6 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.3246, allocations: 117.1 kB / 0.9531 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3249, allocations: 77.7 kB / 0.9532 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3249, allocations: 0 / 0.9532 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.3249, allocations: 38.48 kB / 0.9532 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3249, allocations: 4 kB / 0.9532 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007503/0.3257, allocations: 225.4 kB / 0.9534 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3257, allocations: 81.05 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.3258, allocations: 133.9 kB / 0.9536 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3259, allocations: 29.7 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.3259, allocations: 92.05 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3259, allocations: 11.89 kB / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.326, allocations: 21.72 kB / 0.9538 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3261, allocations: 318.8 kB / 0.9541 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3263, allocations: 59.92 kB / 0.9542 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3265, allocations: 81.62 kB / 0.9542 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.3269, allocations: 129.5 kB / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3269, allocations: 4.375 kB / 0.9544 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004501/0.3274, allocations: 161.4 kB / 0.9545 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3274, allocations: 8 kB / 0.9545 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3274, allocations: 0 / 0.9545 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3274, allocations: 3.938 kB / 0.9545 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.3276, allocations: 31.97 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3277, allocations: 3.938 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3278, allocations: 19.91 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3278, allocations: 4 kB / 0.9546 GB, free: 4.02 MB / 0.7325 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.0001173/0.3279, allocations: 127.7 kB / 0.9547 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.328, allocations: 7.906 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.328, allocations: 7.531 kB / 0.9547 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.328, allocations: 4 kB / 0.9547 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3281, allocations: 7.938 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3281, allocations: 3.984 kB / 0.9547 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.3283, allocations: 201.8 kB / 0.9549 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3283, allocations: 0 / 0.9549 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3285, allocations: 19.97 kB / 0.9549 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3285, allocations: 4 kB / 0.9549 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3285, allocations: 0 / 0.9549 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3285, allocations: 0 / 0.9549 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3285, allocations: 3.938 kB / 0.955 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.3291, allocations: 338.6 kB / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.3291, allocations: 81.02 kB / 0.9554 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3291, allocations: 0 / 0.9554 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3293, allocations: 19.97 kB / 0.9554 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3294, allocations: 27.91 kB / 0.9554 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3294, allocations: 8 kB / 0.9554 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.3295, allocations: 99.25 kB / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3295, allocations: 0 / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002827/0.3298, allocations: 12 kB / 0.9555 GB, free: 2.969 MB / 0.7325 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.000136/0.3299, allocations: 101.5 kB / 0.9556 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.3304, allocations: 147.8 kB / 0.9558 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3304, allocations: 0 / 0.9558 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.3306, allocations: 79.84 kB / 0.9558 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.331, allocations: 14.14 kB / 0.9558 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.3315, allocations: 248 kB / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3318, allocations: 0.7039 MB / 0.9568 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3319, allocations: 15.42 kB / 0.9568 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.3319, allocations: 4 kB / 0.9568 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of Templates: time 0.003119/0.335, allocations: 1.214 MB / 0.958 GB, free: 400 kB / 0.7325 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/jenkins1/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