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.001162/0.001163, allocations: 108.8 kB / 16.37 MB, free: 6.477 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.001229/0.001229, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 70.05 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3672, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002169/0.3694, allocations: 0.6843 MB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3705, allocations: 0.8312 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.3705, allocations: 7.875 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.3707, allocations: 7.875 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.3708, allocations: 7.984 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.3709, allocations: 31.91 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.371, allocations: 63.89 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3712, allocations: 35.97 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3713, allocations: 35.86 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3714, allocations: 43.83 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3715, allocations: 4 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.3715, allocations: 8 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.3716, allocations: 27.91 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.3716, allocations: 27.86 kB / 1.029 GB, free: 296 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.3718, allocations: 91.69 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3718, allocations: 0 / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3718, allocations: 0 / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3718, allocations: 4 kB / 1.029 GB, free: 200 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.0007647/0.3726, allocations: 403.2 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3726, allocations: 8.031 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.3727, allocations: 8.844 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.373, allocations: 200.2 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3731, allocations: 384 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3731, allocations: 8.375 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.3735, allocations: 155.8 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3735, allocations: 192 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3735, allocations: 7.938 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3735, allocations: 7.984 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.374, allocations: 147.8 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.3746, allocations: 448.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.3749, allocations: 113.1 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.3751, allocations: 85.56 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3751, allocations: 4.062 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3752, allocations: 34.56 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.3752, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000726/0.3759, allocations: 229.4 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.376, allocations: 81.11 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3761, allocations: 133.6 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3761, allocations: 25.7 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3763, allocations: 96.3 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3763, allocations: 7.906 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3763, allocations: 25.7 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3765, allocations: 314.8 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3767, allocations: 63.91 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.3769, allocations: 77.64 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.3773, allocations: 133.5 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3773, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004385/0.3777, allocations: 165.4 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.3778, allocations: 4 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3778, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3778, allocations: 7.938 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.378, allocations: 27.95 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.378, allocations: 3.938 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3781, allocations: 23.98 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3781, allocations: 0 / 1.032 GB, free: 12.94 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.0001223/0.3783, allocations: 129.8 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.3783, allocations: 7.906 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.3783, allocations: 7.531 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3784, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3784, allocations: 7.938 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3784, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.3786, allocations: 189.6 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3787, allocations: 4 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3788, allocations: 23.97 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3788, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3788, allocations: 15.92 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3788, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3788, allocations: 3.938 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.3793, allocations: 330.8 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.3794, allocations: 85.02 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3794, allocations: 4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3796, allocations: 16.34 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.3797, allocations: 23.91 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3797, allocations: 4 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.3798, allocations: 103.2 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.723e-06/0.3798, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002711/0.3801, allocations: 19.94 kB / 1.032 GB, free: 11.89 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.00014/0.3802, allocations: 99.23 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3807, allocations: 139.9 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3807, allocations: 0 / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.3809, allocations: 91.83 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3813, allocations: 8 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.3819, allocations: 202.3 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.3826, allocations: 0.708 MB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.924e-05/0.3826, allocations: 15.98 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3828, allocations: 15.38 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3828, allocations: 0 / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.004106/0.3869, allocations: 1.255 MB / 1.035 GB, free: 9.301 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 cvode -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