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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008172/0.008177, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.001822/0.001823, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 58.59 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2877, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002155/0.2899, allocations: 0.6695 MB / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2912, allocations: 0.8354 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.2913, allocations: 0 / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2915, allocations: 7.938 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.2916, allocations: 7.969 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.2917, allocations: 27.92 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.2919, allocations: 67.83 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2921, allocations: 39.97 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.2922, allocations: 31.86 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2923, allocations: 39.89 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.2923, allocations: 8 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.2923, allocations: 7.938 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.2924, allocations: 27.95 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.2925, allocations: 35.8 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2926, allocations: 82.56 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2926, allocations: 0 / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2927, allocations: 8 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2927, allocations: 0 / 1.089 GB, free: 108 kB / 0.8419 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.0007621/0.2934, allocations: 400 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2935, allocations: 12.03 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.067e-05/0.2936, allocations: 38.69 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.2936, allocations: 8.844 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2938, allocations: 196.2 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2939, allocations: 4.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2939, allocations: 8.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.2943, allocations: 159.8 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2943, allocations: 7.875 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2943, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2944, allocations: 7.984 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.2948, allocations: 155.8 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.2955, allocations: 440.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.2958, allocations: 117.1 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.296, allocations: 81.69 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.296, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2961, allocations: 34.56 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2961, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007638/0.2968, allocations: 225.3 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.2969, allocations: 81.11 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.297, allocations: 130 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.297, allocations: 29.7 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.2971, allocations: 95.98 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.2972, allocations: 15.73 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.2972, allocations: 21.72 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2974, allocations: 322.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.2976, allocations: 59.92 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2978, allocations: 85.56 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.2982, allocations: 129.6 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2982, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004397/0.2987, allocations: 157.5 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2987, allocations: 7.984 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2987, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.2987, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2989, allocations: 19.97 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2989, allocations: 8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2991, allocations: 19.97 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2991, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 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.0001192/0.2992, allocations: 129.8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.2993, allocations: 7.906 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.2993, allocations: 7.531 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2993, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.2993, allocations: 7.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2993, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.2996, allocations: 194 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2996, allocations: 0 / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2998, allocations: 27.91 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.2998, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2998, allocations: 11.88 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2998, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2998, allocations: 3.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.3004, allocations: 336 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.3004, allocations: 81.11 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3004, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3006, allocations: 15.97 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.3007, allocations: 35.84 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3007, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.3008, allocations: 95.27 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3008, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00027/0.3011, allocations: 19.84 kB / 1.093 GB, free: 11.75 MB / 0.8575 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.001022/0.3021, allocations: 0.8603 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.3027, allocations: 147.8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3027, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.3029, allocations: 87.89 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3033, allocations: 13.33 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3057, allocations: 1.691 MB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.306, allocations: 0.7041 MB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.543e-05/0.306, allocations: 15.98 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.3061, allocations: 27.42 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of SimCode: time 1.062e-06/0.3061, allocations: 0 / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.3274, allocations: 2.451 MB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.002, allocations: 17.88 kB / 1.099 GB, free: 5.738 MB / 0.8575 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