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.001112/0.001112, allocations: 99.27 kB / 16.02 MB, free: 76 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.001794/0.001795, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 10.84 kB / 0.9034 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3245, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001033/0.3256, allocations: 403.2 kB / 1.06 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3268, allocations: 0.8391 MB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.3269, allocations: 0 / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.3271, allocations: 3.938 kB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3272, allocations: 8 kB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.3273, allocations: 11.98 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3275, allocations: 75.75 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.3276, allocations: 31.89 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.3277, allocations: 31.84 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3279, allocations: 31.91 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3279, allocations: 0 / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.3279, allocations: 4 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.328, allocations: 27.91 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.3281, allocations: 53.5 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3282, allocations: 71.86 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3282, allocations: 0 / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3282, allocations: 0 / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3282, allocations: 0 / 1.061 GB, free: 3.371 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.000719/0.3289, allocations: 391.6 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.329, allocations: 15.91 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.329, allocations: 12.84 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3293, allocations: 192.3 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3293, allocations: 4.375 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3293, allocations: 8.375 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.3298, allocations: 174.2 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3298, allocations: 4.125 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3298, allocations: 3.938 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3298, allocations: 7.922 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.3303, allocations: 171.8 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.331, allocations: 452.8 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.3313, allocations: 125.1 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.3315, allocations: 89.69 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3316, allocations: 8 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3316, allocations: 30.56 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3316, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0008028/0.3324, allocations: 265.5 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3325, allocations: 77.11 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3326, allocations: 133.7 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3326, allocations: 25.7 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.3327, allocations: 99.95 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3327, allocations: 3.906 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.3328, allocations: 21.7 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3329, allocations: 314.8 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3331, allocations: 75.94 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.3333, allocations: 93.58 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.3337, allocations: 149.6 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3338, allocations: 3.938 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004929/0.3343, allocations: 185.4 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3343, allocations: 8 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3343, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3343, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3346, allocations: 36.16 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3346, allocations: 3.938 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3347, allocations: 27.86 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3347, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 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.0001159/0.3348, allocations: 133.8 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3349, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.3349, allocations: 11.53 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3349, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.335, allocations: 3.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.335, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3352, allocations: 189.6 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3352, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3354, allocations: 35.91 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3354, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3354, allocations: 11.98 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3354, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3354, allocations: 7.922 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.336, allocations: 350.6 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.336, allocations: 85.02 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3361, allocations: 8 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.3362, allocations: 23.97 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.3363, allocations: 31.84 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.3364, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.3364, allocations: 99.58 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3364, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002784/0.3367, allocations: 12 kB / 1.065 GB, free: 14.88 MB / 0.8262 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.0001502/0.3369, allocations: 111.2 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.3374, allocations: 155.8 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3374, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.3376, allocations: 92.03 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.338, allocations: 14.19 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.3386, allocations: 235.1 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3389, allocations: 0.7083 MB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.339, allocations: 11.44 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.339, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003085/0.342, allocations: 1.206 MB / 1.067 GB, free: 12.3 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