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.0009455/0.0009454, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006823/0.006823, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.000334, allocations: 12.56 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0008079/0.2949, allocations: 403.1 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.2958, allocations: 0.8351 MB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.2959, allocations: 4 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.572e-05/0.296, allocations: 7.938 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.2961, allocations: 3.984 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.2962, allocations: 19.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2963, allocations: 79.75 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2965, allocations: 27.98 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.2965, allocations: 23.92 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.2966, allocations: 31.89 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2966, allocations: 4 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.2967, allocations: 4 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.2967, allocations: 19.92 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.2968, allocations: 57.48 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2969, allocations: 80.02 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2969, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2969, allocations: 7.938 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2969, allocations: 0 / 1.06 GB, free: 3.242 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.0005855/0.2975, allocations: 391.3 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2976, allocations: 15.97 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.2976, allocations: 34.75 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.2977, allocations: 12.84 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2978, allocations: 196.2 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2979, allocations: 4.375 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2979, allocations: 8.375 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.2983, allocations: 171.8 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2983, allocations: 7.875 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2983, allocations: 7.984 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2983, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.2988, allocations: 171.8 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.2993, allocations: 460.7 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2996, allocations: 125.1 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.2999, allocations: 89.69 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2999, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2999, allocations: 38.56 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2999, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0007873/0.3007, allocations: 261.4 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3008, allocations: 77.11 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3009, allocations: 133.9 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3009, allocations: 29.64 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.301, allocations: 99.95 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.301, allocations: 3.906 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.301, allocations: 17.7 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3011, allocations: 318.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.3014, allocations: 71.92 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3016, allocations: 93.56 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.302, allocations: 149.6 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.302, allocations: 0 / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004841/0.3025, allocations: 189.4 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3025, allocations: 8 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3025, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3026, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3027, allocations: 32.03 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3028, allocations: 3.938 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3029, allocations: 31.91 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3029, allocations: 0 / 1.063 GB, free: 15.78 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.0001019/0.303, allocations: 129.8 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3031, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.3031, allocations: 19.52 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3031, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3031, allocations: 3.938 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3031, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.3034, allocations: 190 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3034, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3035, allocations: 27.97 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3035, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3036, allocations: 7.938 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3036, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3036, allocations: 3.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.3041, allocations: 358.5 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.3042, allocations: 89 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3042, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3044, allocations: 23.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.3045, allocations: 31.89 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.3045, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.3045, allocations: 95.27 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 0 / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002767/0.3048, allocations: 12 kB / 1.064 GB, free: 14.71 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.0008203/0.3056, allocations: 0.8875 MB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.3061, allocations: 171.8 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3061, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.3064, allocations: 99.97 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3068, allocations: 15.92 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.309, allocations: 1.748 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.3092, allocations: 0.7043 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.3093, allocations: 24.23 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.3094, allocations: 27.42 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3094, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.3207, allocations: 2.01 MB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.321, allocations: 228.4 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.003, allocations: 3.938 kB / 1.07 GB, free: 8.805 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