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.004169/0.004169, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001197/0.001197, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 67.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.6798, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00173/0.6815, allocations: 0.6511 MB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.6825, allocations: 0.8351 MB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.6826, allocations: 8 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.6826, allocations: 3.938 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.6827, allocations: 15.91 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.538e-05/0.6828, allocations: 15.98 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.683, allocations: 75.83 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.6831, allocations: 31.92 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.6832, allocations: 39.89 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.6833, allocations: 35.91 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.6833, allocations: 4 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.6833, allocations: 4 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.6834, allocations: 39.83 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.6834, allocations: 39.8 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.6836, allocations: 87.34 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6836, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6836, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6836, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 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.0006275/0.6842, allocations: 407.1 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.6843, allocations: 8.031 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.6843, allocations: 38.75 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.6844, allocations: 12.83 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.6845, allocations: 200.2 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.6846, allocations: 4.375 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.6846, allocations: 12.31 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.685, allocations: 151.8 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.685, allocations: 3.938 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.685, allocations: 8 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.685, allocations: 4 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.6855, allocations: 147.8 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.686, allocations: 440.8 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.6863, allocations: 121.1 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.6866, allocations: 73.69 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6866, allocations: 4 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.6866, allocations: 42.5 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.6866, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0007325/0.6874, allocations: 225.6 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6874, allocations: 85.08 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6875, allocations: 125.8 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.6876, allocations: 26.08 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.6876, allocations: 104 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.6877, allocations: 15.88 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.6877, allocations: 17.72 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6878, allocations: 322.8 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.688, allocations: 63.92 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.6883, allocations: 81.62 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.6887, allocations: 125.6 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6887, allocations: 7.938 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004499/0.6891, allocations: 161.5 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6891, allocations: 11.98 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.6892, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.6892, allocations: 4.062 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.6893, allocations: 19.97 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.6894, allocations: 15.86 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.6895, allocations: 15.97 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.6895, allocations: 0 / 1.225 GB, free: 12.82 MB / 0.9512 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.0001052/0.6896, allocations: 125.8 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.6896, allocations: 4 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.6897, allocations: 11.53 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6897, allocations: 4 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6897, allocations: 3.938 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6897, allocations: 0 / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.69, allocations: 201.7 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.69, allocations: 0 / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.6901, allocations: 23.97 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6901, allocations: 4 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.6902, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6902, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6902, allocations: 7.938 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.6907, allocations: 330.6 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.6908, allocations: 85.2 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.6908, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.691, allocations: 23.95 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.691, allocations: 27.91 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.6911, allocations: 3.938 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.6911, allocations: 99.27 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6911, allocations: 288 / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002624/0.6914, allocations: 15.94 kB / 1.226 GB, free: 11.76 MB / 0.9512 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.0008492/0.6923, allocations: 0.8761 MB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000461/0.6927, allocations: 135.8 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6927, allocations: 0 / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.693, allocations: 91.83 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.6933, allocations: 11.94 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.6956, allocations: 1.696 MB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.6959, allocations: 0.7041 MB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.313e-05/0.696, allocations: 19.98 kB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.6961, allocations: 27.42 kB / 1.229 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.6961, allocations: 0 / 1.229 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.244/0.9401, allocations: 2.425 MB / 1.232 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.673/9.613, allocations: 3.984 kB / 1.232 GB, free: 5.785 MB / 0.9512 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