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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: 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_latest_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_latest_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.001708/0.001708, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001898/0.001899, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 482.4 MB / 0.755 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 72.27 kB / 0.924 GB, free: 312 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7303, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001846/0.7322, allocations: 0.7257 MB / 1.083 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.7329, allocations: 0.8299 MB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.733, allocations: 3.938 kB / 1.084 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.7331, allocations: 2.641 kB / 1.084 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.7332, allocations: 10.47 kB / 1.084 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.87e-05/0.7333, allocations: 11.2 kB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.7334, allocations: 75.81 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.7336, allocations: 28.38 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.7336, allocations: 44.83 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/0.7337, allocations: 38.88 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.7338, allocations: 5.562 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.7338, allocations: 5.312 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.7339, allocations: 28.73 kB / 1.084 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.7339, allocations: 36.05 kB / 1.084 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.734, allocations: 67.41 kB / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.734, allocations: 0 / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.734, allocations: 0 / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.734, allocations: 0.6562 kB / 1.084 GB, free: 396 kB / 0.8262 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.0005463/0.7346, allocations: 402.8 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.7346, allocations: 8.656 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.7347, allocations: 13.2 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.7349, allocations: 196 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.735, allocations: 3.453 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.735, allocations: 8.781 kB / 1.085 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.7354, allocations: 165 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7354, allocations: 0.8438 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.7355, allocations: 8.469 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.7355, allocations: 2.406 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.7359, allocations: 152.2 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.7366, allocations: 448.3 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.7369, allocations: 118.7 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.7371, allocations: 74.38 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.7371, allocations: 2.125 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.7372, allocations: 39.31 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.7372, allocations: 4 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0007637/0.738, allocations: 228.2 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.738, allocations: 77.11 kB / 1.086 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.7382, allocations: 134 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.7382, allocations: 26.36 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.7383, allocations: 101.7 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.7383, allocations: 11.33 kB / 1.086 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.7384, allocations: 24 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7385, allocations: 313.7 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.7387, allocations: 63.59 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.739, allocations: 86.83 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.7394, allocations: 126 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7394, allocations: 5.5 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004619/0.7399, allocations: 159.4 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7399, allocations: 5.188 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7399, allocations: 9.172 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7399, allocations: 0.75 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.7401, allocations: 26.91 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7401, allocations: 9.188 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.7403, allocations: 15.92 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.7403, allocations: 1.906 kB / 1.087 GB, free: 14.24 MB / 0.8419 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.0001247/0.7404, allocations: 125.9 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.7405, allocations: 6.719 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.7405, allocations: 10.75 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7405, allocations: 2.047 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7405, allocations: 7.938 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7405, allocations: 1.281 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.7408, allocations: 200.6 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7408, allocations: 0 / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.741, allocations: 22.88 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.741, allocations: 1.094 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.741, allocations: 2.062 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.741, allocations: 1.281 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/0.741, allocations: 9.562 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.7416, allocations: 338.6 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.7417, allocations: 78.92 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.7417, allocations: 1.953 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.7419, allocations: 16.45 kB / 1.088 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.742, allocations: 29.86 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.742, allocations: 2.125 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.7421, allocations: 102.7 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7421, allocations: 0 / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004026/0.7425, allocations: 19.58 kB / 1.088 GB, free: 13.46 MB / 0.8419 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.0001363/0.7426, allocations: 104.2 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.7431, allocations: 143.5 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7431, allocations: 0 / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.7433, allocations: 85.52 kB / 1.088 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.7437, allocations: 11.92 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.7442, allocations: 235.3 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.7445, allocations: 0.7037 MB / 1.089 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.7446, allocations: 15.31 kB / 1.089 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.7446, allocations: 4 kB / 1.089 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.002966/0.7476, allocations: 1.207 MB / 1.091 GB, free: 12.35 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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