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.001264/0.001264, allocations: 108.9 kB / 16.27 MB, free: 6.355 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.00126/0.00126, allocations: 188.1 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.643/2.643, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001922, allocations: 68.73 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002028/0.3206, allocations: 0.6776 MB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3217, allocations: 0.8312 MB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.3217, allocations: 0 / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.4e-05/0.3219, allocations: 7.938 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.322, allocations: 11.91 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.3221, allocations: 19.92 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3222, allocations: 71.83 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3224, allocations: 39.88 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.3224, allocations: 35.91 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.3225, allocations: 39.83 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3226, allocations: 15.94 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.3226, allocations: 4 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3227, allocations: 23.98 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.3227, allocations: 35.78 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3229, allocations: 87.73 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3229, allocations: 0 / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3229, allocations: 4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3229, allocations: 0 / 1.02 GB, free: 8.77 MB / 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.0006783/0.3236, allocations: 403.5 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3236, allocations: 12.92 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.3237, allocations: 4.844 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3239, allocations: 184.4 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.3239, allocations: 4.375 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.3239, allocations: 8.375 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.3244, allocations: 163.7 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3244, allocations: 4.188 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3244, allocations: 11.94 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3244, allocations: 0 / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.3249, allocations: 147.8 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.3255, allocations: 456.6 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.3259, allocations: 117.1 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3261, allocations: 77.7 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3261, allocations: 3.984 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3262, allocations: 30.56 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.3262, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0007937/0.327, allocations: 233.4 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.327, allocations: 77.11 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3272, allocations: 137.5 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3272, allocations: 25.7 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.3273, allocations: 101.8 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3273, allocations: 11.91 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3274, allocations: 25.7 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3275, allocations: 310.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.3277, allocations: 67.86 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3279, allocations: 77.62 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.3283, allocations: 125.6 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3284, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000474/0.3288, allocations: 169.4 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3289, allocations: 8 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3289, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3289, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3291, allocations: 23.97 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3291, allocations: 3.938 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3292, allocations: 23.97 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3292, allocations: 12 kB / 1.023 GB, free: 5.508 MB / 0.795 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.0001215/0.3294, allocations: 125.8 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.3294, allocations: 7.906 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.3295, allocations: 15.52 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3295, allocations: 0 / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3295, allocations: 3.938 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3295, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3298, allocations: 193.6 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3298, allocations: 4 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3299, allocations: 19.97 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3299, allocations: 4 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.33, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.33, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.33, allocations: 3.938 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.3305, allocations: 338.6 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.3306, allocations: 81.39 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3306, allocations: 3.984 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3308, allocations: 19.98 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.3309, allocations: 23.91 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3309, allocations: 7.922 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.331, allocations: 99.27 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002691/0.3312, allocations: 16 kB / 1.024 GB, free: 4.465 MB / 0.795 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.0001328/0.3314, allocations: 99.25 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.3319, allocations: 143.8 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3319, allocations: 3.938 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.3322, allocations: 79.91 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3325, allocations: 12.11 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.333, allocations: 224.1 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3334, allocations: 0.6963 MB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.3334, allocations: 19.42 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3334, allocations: 0 / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of Templates: time 0.002883/0.3363, allocations: 1.214 MB / 1.026 GB, free: 1.918 MB / 0.795 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=400 -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/jenkins1/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