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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, 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.001539/0.001539, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6969/0.6982, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002414/0.7007, allocations: 0.738 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.7019, allocations: 0.8273 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.702, allocations: 3.938 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.7021, allocations: 8 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.7022, allocations: 7.938 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.7024, allocations: 19.97 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.7025, allocations: 67.83 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.7027, allocations: 35.95 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.7028, allocations: 31.86 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.7029, allocations: 35.89 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.7029, allocations: 4 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.703, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.703, allocations: 27.91 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.7031, allocations: 27.81 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.7033, allocations: 87.73 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7033, allocations: 0 / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7033, allocations: 0 / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7033, allocations: 0 / 1.018 GB, free: 0.8555 MB / 0.7637 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.0007394/0.704, allocations: 405.2 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7041, allocations: 8.031 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.7041, allocations: 8.844 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.7044, allocations: 192.2 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.7044, allocations: 12.36 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.7044, allocations: 4.375 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.7049, allocations: 155.8 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7049, allocations: 192 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.7049, allocations: 3.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7049, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.7054, allocations: 163.7 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.7061, allocations: 444.6 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.7064, allocations: 121.1 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.7066, allocations: 69.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.7066, allocations: 11.94 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.7067, allocations: 34.55 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.7067, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0008248/0.7075, allocations: 225.6 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.7076, allocations: 85.09 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.7077, allocations: 129.6 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.7077, allocations: 25.7 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.7078, allocations: 99.97 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.7078, allocations: 11.91 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.7079, allocations: 21.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7081, allocations: 322.9 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.7083, allocations: 63.91 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.7085, allocations: 73.64 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.7089, allocations: 133.5 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7089, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000482/0.7094, allocations: 161.4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7094, allocations: 8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.7095, allocations: 11.94 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7095, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.7097, allocations: 19.97 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7097, allocations: 7.938 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.7098, allocations: 19.97 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.7098, allocations: 0 / 1.021 GB, free: 13.6 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.000125/0.71, allocations: 126.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.71, allocations: 15.89 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.7101, allocations: 7.531 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7101, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.7101, allocations: 7.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7101, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.7104, allocations: 193.8 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7104, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.7106, allocations: 19.97 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.7106, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.7106, allocations: 8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.7106, allocations: 3.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7106, allocations: 7.875 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.7111, allocations: 322.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.7112, allocations: 93.14 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.7112, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.7114, allocations: 19.97 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7115, allocations: 32.27 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.7115, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.7116, allocations: 99.2 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7116, allocations: 0 / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002921/0.7119, allocations: 15.94 kB / 1.022 GB, free: 12.54 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.0001799/0.7121, allocations: 111.2 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.7126, allocations: 135.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7126, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.7128, allocations: 92.02 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.7132, allocations: 8 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.7138, allocations: 208 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.7141, allocations: 0.7083 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.566e-05/0.7142, allocations: 20.23 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.7143, allocations: 7.438 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7143, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.003997/0.7183, allocations: 1.067 MB / 1.025 GB, free: 10.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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