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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001369/0.001373, allocations: 108 kB / 15.61 MB, free: 152 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.001361/0.001361, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7347 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 66.36 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3276, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002283/0.3299, allocations: 0.6716 MB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.331, allocations: 0.8351 MB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.331, allocations: 4 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3312, allocations: 11.92 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3313, allocations: 3.984 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.3315, allocations: 23.92 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3317, allocations: 75.81 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3319, allocations: 31.98 kB / 1.055 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.332, allocations: 31.86 kB / 1.055 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3321, allocations: 43.89 kB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.3322, allocations: 7.938 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.3322, allocations: 4 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.3323, allocations: 27.95 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.3323, allocations: 35.8 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3325, allocations: 88.03 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3325, allocations: 4 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3325, allocations: 0 / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3326, allocations: 0 / 1.055 GB, free: 6.422 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.0007336/0.3333, allocations: 395.2 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3333, allocations: 12.62 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.3334, allocations: 34.75 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3334, allocations: 12.83 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3336, allocations: 196.2 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.3337, allocations: 8.375 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3337, allocations: 8.312 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.3341, allocations: 155.8 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3341, allocations: 3.938 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3341, allocations: 0 / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3341, allocations: 4 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.3346, allocations: 159.8 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.3351, allocations: 448.6 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.3355, allocations: 121.1 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3357, allocations: 81.64 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3357, allocations: 4 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.3357, allocations: 30.56 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3357, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0007811/0.3365, allocations: 229.5 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.3366, allocations: 77.11 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3367, allocations: 133.7 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3367, allocations: 25.7 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.3368, allocations: 92.05 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3368, allocations: 11.89 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.3369, allocations: 17.88 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.337, allocations: 330.8 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3372, allocations: 63.92 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3374, allocations: 77.62 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3378, allocations: 133.5 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3378, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004538/0.3383, allocations: 169.4 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3383, allocations: 8 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3383, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3384, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3385, allocations: 19.97 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3386, allocations: 7.938 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3387, allocations: 19.91 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3387, allocations: 0 / 1.058 GB, free: 3.121 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 0.0001216/0.3388, allocations: 135.4 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.3389, allocations: 7.906 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.3389, allocations: 7.531 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3389, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3389, allocations: 3.938 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3389, allocations: 3.984 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3392, allocations: 194 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3392, allocations: 0 / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3394, allocations: 19.97 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3394, allocations: 8 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3394, allocations: 3.938 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3394, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3394, allocations: 7.875 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.3399, allocations: 330.7 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.34, allocations: 85.02 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.34, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3402, allocations: 15.97 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.3403, allocations: 31.91 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3403, allocations: 0 / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.3404, allocations: 99.25 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3404, allocations: 0 / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002635/0.3406, allocations: 12 kB / 1.059 GB, free: 2.078 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.0008168/0.3415, allocations: 0.8678 MB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.3419, allocations: 147.7 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.342, allocations: 0 / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.3422, allocations: 87.89 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3425, allocations: 13.91 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.3448, allocations: 1.701 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.345, allocations: 0.708 MB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.549e-05/0.3451, allocations: 19.98 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.3452, allocations: 23.42 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3452, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.3651, allocations: 2.39 MB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.442, allocations: 6.125 kB / 1.064 GB, free: 12.11 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