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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001574/0.001574, allocations: 194.8 kB / 16.25 MB, free: 6.625 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.456/2.456, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 75.88 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.6591, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001852/0.661, allocations: 0.7304 MB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008811/0.6619, allocations: 0.8351 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.662, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.634e-05/0.6621, allocations: 7.938 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.6622, allocations: 4 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.6623, allocations: 15.97 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.6624, allocations: 75.77 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.6625, allocations: 39.95 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.139e-05/0.6626, allocations: 31.92 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.6627, allocations: 35.89 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.6627, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.6627, allocations: 15.94 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.6628, allocations: 27.91 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.6629, allocations: 35.8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.663, allocations: 90 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.663, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.663, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.663, allocations: 0 / 1.019 GB, free: 0.7383 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.0005855/0.6636, allocations: 399.2 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.6636, allocations: 12.03 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.6637, allocations: 42.73 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.6637, allocations: 8.844 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.6639, allocations: 188.3 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.6639, allocations: 12.36 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.6639, allocations: 4.375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.6643, allocations: 167.7 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6643, allocations: 7.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.6643, allocations: 3.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6643, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.6648, allocations: 151.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.6653, allocations: 444.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.6656, allocations: 125 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.6658, allocations: 77.7 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6658, allocations: 4.062 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.6658, allocations: 34.56 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.6658, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0006965/0.6665, allocations: 225.4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.6666, allocations: 77.11 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.6667, allocations: 137.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.6667, allocations: 29.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.6668, allocations: 100.2 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.6668, allocations: 7.891 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.6669, allocations: 21.72 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.667, allocations: 322.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.6672, allocations: 63.92 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.6674, allocations: 81.62 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.6677, allocations: 129.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6677, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004193/0.6682, allocations: 169.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6682, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6682, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.6682, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.6684, allocations: 23.97 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6684, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.6685, allocations: 24.03 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.6685, allocations: 384 / 1.022 GB, free: 13.42 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 9.749e-05/0.6686, allocations: 130.3 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.6686, allocations: 3.906 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.6687, allocations: 11.53 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6687, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6687, allocations: 3.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6687, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.6689, allocations: 193.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6689, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6691, allocations: 23.97 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6691, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.6691, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6691, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.6691, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.6696, allocations: 334.6 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.6697, allocations: 81.02 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.6697, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.6699, allocations: 15.97 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.67, allocations: 23.91 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.67, allocations: 8 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.67, allocations: 99.25 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.67, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.6703, allocations: 15.94 kB / 1.023 GB, free: 12.38 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.000821/0.6711, allocations: 0.8678 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.6716, allocations: 139.8 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6716, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.6718, allocations: 91.95 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.6722, allocations: 16.62 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.6743, allocations: 1.697 MB / 1.025 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.6746, allocations: 0.7041 MB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.747e-05/0.6747, allocations: 16.27 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.6748, allocations: 27.42 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6748, allocations: 4 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.7176, allocations: 2.154 MB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.7178, allocations: 232.5 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.392, allocations: 0 / 1.029 GB, free: 6.426 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > 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