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.001664/0.001664, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001847/0.001847, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.654/2.654, allocations: 437 MB / 0.71 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.8097, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002702/0.8124, allocations: 0.7342 MB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.8138, allocations: 0.8234 MB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.8139, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.814, allocations: 3.984 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.8141, allocations: 7.938 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.8143, allocations: 19.97 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.8144, allocations: 71.78 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.8146, allocations: 39.95 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.8147, allocations: 39.91 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.8148, allocations: 39.89 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.8148, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.8148, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.8149, allocations: 31.91 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.815, allocations: 31.8 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.8151, allocations: 83.75 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8151, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8151, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.8151, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 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.0007564/0.8159, allocations: 405.1 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.816, allocations: 12.03 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.816, allocations: 4.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.8162, allocations: 200.1 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.8162, allocations: 4.375 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.8163, allocations: 12.36 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.8168, allocations: 151.8 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.8168, allocations: 192 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.8169, allocations: 11.94 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8169, allocations: 3.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.8173, allocations: 151.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.8179, allocations: 456.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.8182, allocations: 121.1 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.8185, allocations: 73.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.8185, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.8185, allocations: 34.55 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8185, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0007109/0.8192, allocations: 225.4 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.8193, allocations: 77.11 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.8195, allocations: 133.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8195, allocations: 25.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.8195, allocations: 99.97 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.8196, allocations: 11.91 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.8196, allocations: 25.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8198, allocations: 314.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.82, allocations: 67.91 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.8202, allocations: 73.64 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.8206, allocations: 129.5 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8206, allocations: 7.938 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004475/0.8211, allocations: 165.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8211, allocations: 8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8211, allocations: 384 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8211, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.8213, allocations: 23.97 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8214, allocations: 8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.8215, allocations: 24 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.8215, allocations: 4 kB / 1.022 GB, free: 13.54 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.0001279/0.8216, allocations: 126.3 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.8217, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.8217, allocations: 15.52 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8217, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8217, allocations: 3.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8217, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.822, allocations: 197.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.822, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.8222, allocations: 27.91 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8222, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.8222, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8222, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8222, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.8228, allocations: 334.7 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.8228, allocations: 85 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.8229, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.823, allocations: 19.98 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.8231, allocations: 31.89 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8232, allocations: 4 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.774e-05/0.8232, allocations: 99.2 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8232, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002769/0.8235, allocations: 19.94 kB / 1.023 GB, free: 12.49 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.0001454/0.8237, allocations: 99.25 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.8241, allocations: 143.8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8241, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.8244, allocations: 91.83 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.8247, allocations: 16.67 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.8252, allocations: 206.6 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.8255, allocations: 0.7043 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.202e-05/0.8256, allocations: 19.98 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.8256, allocations: 11.44 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8256, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.003364/0.829, allocations: 1.11 MB / 1.025 GB, free: 10.04 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