Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001033/0.001033, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01085/0.01085, allocations: 174.1 kB / 16.26 MB, free: 6.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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005019, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8057/0.8062, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001174/0.8075, allocations: 400.9 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.8086, allocations: 0.8234 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.8087, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.8089, allocations: 11.92 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.809, allocations: 8 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.8091, allocations: 15.97 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.8093, allocations: 67.78 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.8095, allocations: 39.95 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.8096, allocations: 23.92 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.8097, allocations: 35.83 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.8097, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.8097, allocations: 4 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.8098, allocations: 19.97 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.8099, allocations: 57.5 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.81, allocations: 83.67 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.81, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8101, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.8101, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 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.0007367/0.8108, allocations: 401.2 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8109, allocations: 8.031 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.8109, allocations: 8.844 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.8111, allocations: 196.1 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.8112, allocations: 4.375 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.8112, allocations: 8.375 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.8116, allocations: 179.4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.8116, allocations: 192 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.8117, allocations: 7.938 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.8117, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.8122, allocations: 175.8 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.8128, allocations: 440.8 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.8131, allocations: 129.1 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.8133, allocations: 89.69 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.8133, allocations: 11.98 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8134, allocations: 30.56 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.8134, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0007831/0.8142, allocations: 265.5 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.8142, allocations: 77.11 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.8143, allocations: 125.8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.8144, allocations: 25.7 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.8144, allocations: 103.9 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.8145, allocations: 19.89 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.8145, allocations: 21.78 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8147, allocations: 310.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.8149, allocations: 75.91 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.8151, allocations: 85.64 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.8155, allocations: 153.6 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8155, allocations: 0 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004959/0.816, allocations: 181.5 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8161, allocations: 12.06 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8161, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8161, allocations: 384 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.8163, allocations: 31.97 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8163, allocations: 7.922 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.8164, allocations: 19.89 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.8164, allocations: 11.94 kB / 1.028 GB, free: 10.87 MB / 0.7794 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.0001154/0.8166, allocations: 134.3 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.8166, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.8167, allocations: 15.47 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8167, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8167, allocations: 3.938 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.8167, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.8169, allocations: 197.6 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8169, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.8171, allocations: 31.97 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.8171, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.8171, allocations: 11.98 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.8171, allocations: 4 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8171, allocations: 3.938 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.8177, allocations: 354.6 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.8177, allocations: 77.11 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.8178, allocations: 15.88 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.818, allocations: 19.97 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.818, allocations: 27.91 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.8181, allocations: 0 / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.8181, allocations: 95.27 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8181, allocations: 4 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002743/0.8184, allocations: 19.84 kB / 1.029 GB, free: 9.777 MB / 0.7794 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.0001691/0.8186, allocations: 103.2 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.8191, allocations: 163.8 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8192, allocations: 0 / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.8194, allocations: 100 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.8198, allocations: 10.53 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.8204, allocations: 209.6 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.8208, allocations: 0.7004 MB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.456e-05/0.8208, allocations: 20.52 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.8209, allocations: 11.44 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of SimCode: time 4.5e-07/0.8209, allocations: 7.938 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.00411/0.825, allocations: 1.055 MB / 1.031 GB, free: 7.352 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches