Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_11_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.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 70.41 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2833, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001888/0.2852, allocations: 0.6659 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.2862, allocations: 0.8447 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.2862, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.051e-05/0.2863, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.2864, allocations: 11.92 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.765e-05/0.2865, allocations: 19.98 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2866, allocations: 75.81 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2867, allocations: 27.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.2868, allocations: 35.86 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.2869, allocations: 39.89 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.287, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.287, allocations: 8 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.2871, allocations: 35.89 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.2871, allocations: 31.8 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.2872, allocations: 92.02 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2873, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2873, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2873, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 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.0006009/0.2879, allocations: 399.2 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2879, allocations: 8.031 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.288, allocations: 46.73 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.288, allocations: 8.844 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.2882, allocations: 192.2 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2882, allocations: 4.375 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2882, allocations: 8.375 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.2886, allocations: 155.8 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2886, allocations: 7.875 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2886, allocations: 8 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2887, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.2891, allocations: 155.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.2897, allocations: 456.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.2899, allocations: 109.1 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2902, allocations: 81.64 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2902, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2902, allocations: 38.56 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2902, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000715/0.2909, allocations: 229.3 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.291, allocations: 77.11 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2911, allocations: 129.8 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2911, allocations: 25.7 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.2912, allocations: 96.03 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.2912, allocations: 16.06 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.2913, allocations: 25.7 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2914, allocations: 310.8 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2916, allocations: 63.92 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2918, allocations: 85.56 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.2922, allocations: 129.5 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2922, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004335/0.2927, allocations: 165.5 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2927, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2927, allocations: 0 / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2927, allocations: 0 / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2929, allocations: 28.34 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2929, allocations: 3.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.293, allocations: 23.91 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.293, allocations: 4.062 kB / 1.069 GB, free: 8.961 MB / 0.8262 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.0001026/0.2931, allocations: 129.8 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.2932, allocations: 3.906 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.2932, allocations: 15.52 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2932, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2932, allocations: 3.938 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2932, allocations: 4 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.2935, allocations: 189.7 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2935, allocations: 0 / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2936, allocations: 31.95 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2937, allocations: 0 / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2937, allocations: 4 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2937, allocations: 7.938 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2937, allocations: 3.938 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.2942, allocations: 330.6 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.2942, allocations: 77.11 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2943, allocations: 11.98 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2944, allocations: 11.98 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.2945, allocations: 23.91 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2945, allocations: 7.984 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.2946, allocations: 95.27 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2946, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002591/0.2949, allocations: 19.91 kB / 1.07 GB, free: 7.914 MB / 0.8262 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.0008566/0.2957, allocations: 0.8656 MB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.2962, allocations: 139.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2962, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.2965, allocations: 95.95 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2968, allocations: 19.92 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.2991, allocations: 1.69 MB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2994, allocations: 0.7002 MB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.2995, allocations: 19.92 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.2995, allocations: 27.42 kB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2995, allocations: 4 kB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.3219, allocations: 2.377 MB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.625/9.947, allocations: 5.688 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches