Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_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.000974/0.000974, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006112/0.006112, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003819, allocations: 8 kB / 0.873 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6379/0.6383, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0008945/0.6392, allocations: 401 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008866/0.6401, allocations: 0.8313 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.6402, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.913e-05/0.6403, allocations: 8 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.6404, allocations: 7.922 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.76e-05/0.6405, allocations: 15.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6406, allocations: 67.83 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.6407, allocations: 35.95 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.6408, allocations: 31.86 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.6409, allocations: 31.89 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.6409, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.6409, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.641, allocations: 23.91 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.641, allocations: 53.52 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.6411, allocations: 89.97 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6412, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6412, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6412, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 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.0005675/0.6417, allocations: 391.3 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6418, allocations: 15.97 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.6418, allocations: 42.73 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.6419, allocations: 8.844 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.642, allocations: 192.2 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.6421, allocations: 4.375 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.6421, allocations: 8.375 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.6425, allocations: 171.8 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.6425, allocations: 3.938 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6425, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6426, allocations: 7.938 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.643, allocations: 175.8 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.6436, allocations: 440.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.6439, allocations: 129.1 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.6441, allocations: 89.64 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.6441, allocations: 4 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.6442, allocations: 34.56 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6442, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000771/0.6449, allocations: 265.5 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.645, allocations: 81.11 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.6451, allocations: 125.8 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.6451, allocations: 25.7 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.6452, allocations: 104 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.6452, allocations: 11.95 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.6452, allocations: 17.72 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.6453, allocations: 318.8 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.6455, allocations: 75.95 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.6457, allocations: 85.64 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.6462, allocations: 157.5 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6462, allocations: 4.312 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004669/0.6466, allocations: 181.5 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6467, allocations: 5.719 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6467, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.6467, allocations: 3.938 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.6469, allocations: 36.02 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6469, allocations: 3.938 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.647, allocations: 27.89 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.647, allocations: 3.984 kB / 1.028 GB, free: 10.82 MB / 0.7794 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.0001001/0.6471, allocations: 134.4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.6472, allocations: 4 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.6472, allocations: 7.531 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6472, allocations: 4.094 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6472, allocations: 7.922 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6472, allocations: 0 / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.6475, allocations: 189.6 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6475, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.6476, allocations: 31.95 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6476, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.6477, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6477, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6477, allocations: 11.86 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.6482, allocations: 354.6 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.6482, allocations: 81.11 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.6483, allocations: 4 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.6484, allocations: 27.97 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.6485, allocations: 23.91 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.6485, allocations: 0 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.6486, allocations: 95.27 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6486, allocations: 0 / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002684/0.6489, allocations: 23.83 kB / 1.029 GB, free: 9.734 MB / 0.7794 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.000781/0.6497, allocations: 0.8874 MB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.6501, allocations: 163.8 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6501, allocations: 0 / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.6504, allocations: 100 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.6507, allocations: 20.09 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.6529, allocations: 1.758 MB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.6531, allocations: 0.7043 MB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.6532, allocations: 16.23 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.6533, allocations: 23.44 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6533, allocations: 0 / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.6644, allocations: 2.014 MB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.6647, allocations: 223.6 kB / 1.035 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.312, allocations: 0 / 1.035 GB, free: 3.832 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches