Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.88 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2974, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002031/0.2995, allocations: 0.7349 MB / 1.053 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.3004, allocations: 0.8391 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.3005, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.3006, allocations: 3.984 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.3007, allocations: 11.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.3008, allocations: 19.98 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3009, allocations: 67.83 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3011, allocations: 27.98 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.3011, allocations: 35.78 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.3012, allocations: 39.89 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3013, allocations: 0 / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.3013, allocations: 7.938 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.3013, allocations: 27.98 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.3014, allocations: 31.78 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3015, allocations: 84.02 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3015, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.3015, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3015, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 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.0005913/0.3021, allocations: 403.2 kB / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3022, allocations: 11.97 kB / 1.054 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.3022, allocations: 42.75 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.3022, allocations: 8.844 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3024, allocations: 192.2 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.3024, allocations: 8.375 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3025, allocations: 4.375 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.3028, allocations: 158.5 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3028, allocations: 3.938 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3028, allocations: 8 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3028, allocations: 3.984 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.3033, allocations: 151.8 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.3038, allocations: 452.7 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.304, allocations: 109.1 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.3043, allocations: 89.62 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3043, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3043, allocations: 30.56 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3043, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0006754/0.305, allocations: 229.5 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.305, allocations: 77.11 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.3051, allocations: 137.6 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3051, allocations: 25.7 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.3052, allocations: 92.05 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3052, allocations: 8.062 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.3053, allocations: 29.7 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.3053, allocations: 314.8 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3055, allocations: 71.84 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3057, allocations: 69.64 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.3061, allocations: 137.5 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3061, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004017/0.3065, allocations: 165.4 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3065, allocations: 9.25 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3065, allocations: 0 / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3066, allocations: 4 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3067, allocations: 27.95 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3067, allocations: 3.938 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3068, allocations: 15.92 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3069, allocations: 4 kB / 1.057 GB, free: 2.969 MB / 0.8106 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 8.973e-05/0.3069, allocations: 133.9 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.307, allocations: 7.906 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.307, allocations: 15.61 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.307, allocations: 0 / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.307, allocations: 3.938 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.307, allocations: 0 / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3073, allocations: 193.6 kB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3073, allocations: 0 / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3074, allocations: 27.97 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3074, allocations: 3.984 kB / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3074, allocations: 0 / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3074, allocations: 3.938 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3075, allocations: 3.938 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.3079, allocations: 334.7 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.3079, allocations: 81.02 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.308, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3081, allocations: 19.97 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.3082, allocations: 23.91 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3082, allocations: 4 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.3083, allocations: 99.58 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3083, allocations: 4 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002585/0.3086, allocations: 12 kB / 1.058 GB, free: 1.922 MB / 0.8106 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.0006995/0.3093, allocations: 0.8717 MB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.3097, allocations: 135.8 kB / 1.059 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3097, allocations: 3.938 kB / 1.059 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.3099, allocations: 92.02 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3102, allocations: 17.59 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.3122, allocations: 1.697 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.3124, allocations: 0.7043 MB / 1.061 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.725e-05/0.3125, allocations: 20.23 kB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.3125, allocations: 23.42 kB / 1.061 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3125, allocations: 0 / 1.061 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.3232, allocations: 2.085 MB / 1.063 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.3234, allocations: 232.8 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.968, allocations: 0 / 1.064 GB, free: 12.03 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches