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.004388/0.004388, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.001246/0.001246, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.471/2.471, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2599, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001663/0.2616, allocations: 0.6776 MB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.2624, allocations: 0.8355 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.2625, allocations: 3.938 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.005e-05/0.2626, allocations: 7.922 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.2627, allocations: 7.938 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.385e-05/0.2628, allocations: 23.92 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.2629, allocations: 71.88 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.263, allocations: 28.27 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.2631, allocations: 35.91 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.2632, allocations: 47.77 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2632, allocations: 4 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.2632, allocations: 4 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.2633, allocations: 31.91 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.2633, allocations: 31.86 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2635, allocations: 95.61 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2635, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2635, allocations: 4 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2635, allocations: 0 / 1.168 GB, free: 5.387 MB / 0.92 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.0005949/0.2641, allocations: 399.1 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.2641, allocations: 8.031 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.2642, allocations: 42.73 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.2642, allocations: 8.891 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.2644, allocations: 192.2 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2644, allocations: 8.375 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2645, allocations: 8.375 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.2648, allocations: 167.3 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2648, allocations: 3.938 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2649, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2649, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004785/0.2654, allocations: 159.8 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.2659, allocations: 452.6 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.2662, allocations: 113.1 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2664, allocations: 81.64 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2664, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2665, allocations: 34.55 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2665, allocations: 4 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0007187/0.2672, allocations: 225.4 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2673, allocations: 77.11 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2674, allocations: 130 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2674, allocations: 29.7 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.2675, allocations: 96.08 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2675, allocations: 11.91 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.2675, allocations: 25.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2677, allocations: 314.8 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2679, allocations: 63.91 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.2681, allocations: 77.64 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2685, allocations: 129.5 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2685, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004448/0.2689, allocations: 169.4 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.269, allocations: 11.94 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.269, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.269, allocations: 96 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2692, allocations: 27.95 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2692, allocations: 8 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2693, allocations: 15.97 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2693, allocations: 4 kB / 1.171 GB, free: 2.082 MB / 0.92 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.951e-05/0.2694, allocations: 125.8 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.2694, allocations: 4.375 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2695, allocations: 15.52 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2695, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2695, allocations: 3.938 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2695, allocations: 7.938 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.2698, allocations: 197.8 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2698, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2699, allocations: 27.97 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2699, allocations: 0 / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2699, allocations: 0 / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2699, allocations: 3.938 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2699, allocations: 3.938 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.2705, allocations: 338.6 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.2705, allocations: 88.98 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2705, allocations: 0 / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.2707, allocations: 15.98 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.2708, allocations: 35.89 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2708, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.2709, allocations: 95.27 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2709, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002545/0.2711, allocations: 12 kB / 1.172 GB, free: 1.027 MB / 0.92 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.0008221/0.272, allocations: 0.8695 MB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.2724, allocations: 143.9 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2725, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.2727, allocations: 87.89 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.273, allocations: 17.95 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.2753, allocations: 1.688 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2756, allocations: 0.7002 MB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.215e-05/0.2756, allocations: 19.98 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.2757, allocations: 23.44 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2757, allocations: 288 / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2972, allocations: 2.424 MB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.01, allocations: 12.27 kB / 1.178 GB, free: 11.05 MB / 0.9356 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=400 --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