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.001968/0.001968, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00215/0.00215, allocations: 196.3 kB / 16.14 MB, free: 6.629 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.753/2.753, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7703, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002425/0.7728, allocations: 0.7342 MB / 1.017 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.7739, allocations: 0.8273 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.774, allocations: 4 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.7742, allocations: 7.938 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.7743, allocations: 7.984 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.7744, allocations: 15.98 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.7745, allocations: 75.77 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.7747, allocations: 35.95 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.7748, allocations: 23.92 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.7749, allocations: 35.89 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.775, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.775, allocations: 7.938 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.7751, allocations: 27.91 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.7751, allocations: 31.8 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.7753, allocations: 87.73 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7753, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7753, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7753, allocations: 0 / 1.019 GB, free: 1.004 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.0007629/0.7761, allocations: 397.3 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.7761, allocations: 8.031 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.7762, allocations: 8.844 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.7764, allocations: 196.2 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.7764, allocations: 8.375 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7765, allocations: 4.375 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.7769, allocations: 163.8 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7769, allocations: 192 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.7769, allocations: 11.94 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7769, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.7774, allocations: 151.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.7781, allocations: 440.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.7784, allocations: 129 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.7786, allocations: 77.69 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.7787, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.7787, allocations: 30.56 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7787, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0008176/0.7795, allocations: 233.6 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.7796, allocations: 77.11 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.7797, allocations: 133.6 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7798, allocations: 25.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.7799, allocations: 95.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.7799, allocations: 16.05 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.7799, allocations: 29.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7801, allocations: 318.9 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.7803, allocations: 59.92 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.7806, allocations: 77.62 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.781, allocations: 129.6 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.781, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004842/0.7815, allocations: 161.4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.7815, allocations: 9.562 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7815, allocations: 11.98 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7816, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.7818, allocations: 23.97 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7818, allocations: 3.938 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.7819, allocations: 16.36 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.7819, allocations: 7.984 kB / 1.021 GB, free: 13.75 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.0001343/0.7821, allocations: 125.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.7821, allocations: 11.91 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.7822, allocations: 15.47 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7822, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.7822, allocations: 3.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7822, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.7825, allocations: 193.6 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7825, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.7827, allocations: 23.95 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.7827, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.7827, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7827, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7827, allocations: 3.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.7833, allocations: 330.6 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.7834, allocations: 89.02 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.7834, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.7836, allocations: 19.97 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.7837, allocations: 27.91 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.7837, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.7838, allocations: 99.25 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7838, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002777/0.7841, allocations: 15.94 kB / 1.022 GB, free: 12.7 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.0001622/0.7843, allocations: 103.8 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.7848, allocations: 139.8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7848, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.785, allocations: 92.08 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.7854, allocations: 8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.7859, allocations: 212 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.7863, allocations: 0.7044 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.64e-05/0.7864, allocations: 20.23 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.7865, allocations: 15.42 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of SimCode: time 6.81e-07/0.7865, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.004033/0.7905, allocations: 1.069 MB / 1.025 GB, free: 10.29 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=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/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