Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007734/0.0007733, allocations: 91.45 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.004737/0.004737, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.341/1.341, 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 9.1.2-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 11.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7622, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0008007/0.763, allocations: 393.5 kB / 0.9556 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.764, allocations: 0.8317 MB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.764, allocations: 5.344 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.783e-05/0.7641, allocations: 7.922 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.7642, allocations: 2.156 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.7644, allocations: 20.02 kB / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.7645, allocations: 68.84 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.7646, allocations: 28.19 kB / 0.9565 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.7647, allocations: 35.05 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.615e-05/0.7648, allocations: 27.73 kB / 0.9566 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.7648, allocations: 6.328 kB / 0.9566 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.7648, allocations: 3.188 kB / 0.9566 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.7649, allocations: 25 kB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.7649, allocations: 59.38 kB / 0.9566 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.765, allocations: 87.41 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7651, allocations: 0 / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7651, allocations: 0.9688 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7651, allocations: 0 / 0.9567 GB, free: 6.48 MB / 0.7169 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.0005471/0.7656, allocations: 392.6 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7657, allocations: 9.375 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.7657, allocations: 37.22 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.7658, allocations: 8.219 kB / 0.9572 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.7659, allocations: 198.6 kB / 0.9573 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.7659, allocations: 7.969 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.766, allocations: 3.812 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.7663, allocations: 167.9 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7664, allocations: 3.938 kB / 0.9575 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.7664, allocations: 1.062 kB / 0.9575 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7664, allocations: 2.25 kB / 0.9575 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.7669, allocations: 175.8 kB / 0.9577 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.7674, allocations: 453.7 kB / 0.9581 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.7677, allocations: 125.2 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.7679, allocations: 94.78 kB / 0.9583 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.768, allocations: 1.469 kB / 0.9583 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.768, allocations: 36.03 kB / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.768, allocations: 0 / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007966/0.7688, allocations: 272.5 kB / 0.9586 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.7689, allocations: 78.48 kB / 0.9587 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.769, allocations: 126.2 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.769, allocations: 29.7 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.769, allocations: 100.1 kB / 0.959 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.7691, allocations: 10.56 kB / 0.959 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.7691, allocations: 20.45 kB / 0.959 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.7692, allocations: 317.6 kB / 0.9593 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.7694, allocations: 70.55 kB / 0.9594 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.7696, allocations: 95 kB / 0.9594 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.77, allocations: 148 kB / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.77, allocations: 0 / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004819/0.7705, allocations: 181.8 kB / 0.9598 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7705, allocations: 7.656 kB / 0.9598 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.7706, allocations: 0 / 0.9598 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.7706, allocations: 5.781 kB / 0.9598 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.7708, allocations: 34.59 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.7708, allocations: 5.25 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.7709, allocations: 21.53 kB / 0.9598 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.7709, allocations: 1.375 kB / 0.9598 GB, free: 3.898 MB / 0.7169 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 9.122e-05/0.771, allocations: 133.1 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.7711, allocations: 6.281 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.7711, allocations: 18.39 kB / 0.96 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7711, allocations: 0 / 0.96 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7711, allocations: 5.438 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7711, allocations: 0 / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.7714, allocations: 196.1 kB / 0.9602 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7714, allocations: 1.5 kB / 0.9602 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.7715, allocations: 30.47 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.7715, allocations: 1 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7715, allocations: 5.094 kB / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7715, allocations: 1.156 kB / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7715, allocations: 5.406 kB / 0.9602 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.7721, allocations: 354.4 kB / 0.9606 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.7721, allocations: 82.64 kB / 0.9606 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.7721, allocations: 9.203 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.7723, allocations: 22.05 kB / 0.9607 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.7724, allocations: 29.02 kB / 0.9607 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7724, allocations: 2.219 kB / 0.9607 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.7724, allocations: 93.36 kB / 0.9608 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7725, allocations: 1.188 kB / 0.9608 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002602/0.7727, allocations: 23.25 kB / 0.9608 GB, free: 3.004 MB / 0.7169 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.0006642/0.7734, allocations: 0.8858 MB / 0.9617 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004659/0.7739, allocations: 155.9 kB / 0.9618 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7739, allocations: 0.75 kB / 0.9618 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.7741, allocations: 105.9 kB / 0.9619 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.7745, allocations: 13.58 kB / 0.9619 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.7767, allocations: 1.753 MB / 0.9636 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.7769, allocations: 0.7068 MB / 0.9643 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.563e-05/0.777, allocations: 22.8 kB / 0.9644 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.7771, allocations: 21.7 kB / 0.9644 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.7771, allocations: 1.062 kB / 0.9644 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.788, allocations: 2.009 MB / 0.9663 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.7882, allocations: 224.8 kB / 0.9666 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.487, allocations: 0 / 0.9666 GB, free: 14.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches