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.001449/0.001449, allocations: 109.7 kB / 16.27 MB, free: 6.016 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.001494/0.001494, allocations: 188.2 kB / 17.2 MB, free: 5.625 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.646/2.646, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 72.48 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6957/0.6974, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001984/0.6994, allocations: 0.68 MB / 1.084 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009383/0.7004, allocations: 0.8327 MB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.7004, allocations: 4.5 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.674e-05/0.7005, allocations: 1.922 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.7007, allocations: 11.81 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.7008, allocations: 16.39 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.7009, allocations: 74.95 kB / 1.085 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.701, allocations: 28.89 kB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.7011, allocations: 37.02 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.7012, allocations: 47.17 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.7012, allocations: 6.312 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.864e-05/0.7013, allocations: 4.594 kB / 1.085 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.7013, allocations: 25.03 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.7014, allocations: 38.58 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.7015, allocations: 89.61 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7015, allocations: 1.062 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7015, allocations: 4 kB / 1.085 GB, free: 440 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.7016, allocations: 0 / 1.085 GB, free: 440 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.0005614/0.7021, allocations: 398.7 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7022, allocations: 8.969 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.7022, allocations: 9.281 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.7024, allocations: 192.6 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.7025, allocations: 7.734 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.7025, allocations: 11.97 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.7029, allocations: 160.7 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7029, allocations: 1.219 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.703, allocations: 3.938 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.703, allocations: 2.625 kB / 1.086 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.7035, allocations: 159.4 kB / 1.086 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.7041, allocations: 436.6 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.7044, allocations: 123.5 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.7047, allocations: 74.59 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.7047, allocations: 0.5625 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.7047, allocations: 37.33 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.7047, allocations: 3.938 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0007758/0.7055, allocations: 223 kB / 1.087 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.7056, allocations: 86.2 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.7057, allocations: 129.8 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7057, allocations: 25.7 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.7058, allocations: 98.2 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.7058, allocations: 14.58 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.7059, allocations: 23.45 kB / 1.087 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.706, allocations: 324.7 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.7063, allocations: 65.8 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.7065, allocations: 75.41 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.7069, allocations: 133.5 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7069, allocations: 0.6562 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004616/0.7074, allocations: 160.1 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7074, allocations: 5.719 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.7074, allocations: 1.406 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7074, allocations: 4.062 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.7076, allocations: 23.34 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.7076, allocations: 4.641 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.7077, allocations: 19.58 kB / 1.088 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7077, allocations: 2.422 kB / 1.088 GB, free: 14.31 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.0001141/0.7078, allocations: 130.4 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.7079, allocations: 6.625 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.7079, allocations: 14.59 kB / 1.088 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.7079, allocations: 5.328 kB / 1.088 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.708, allocations: 5.062 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.708, allocations: 0.5625 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.7082, allocations: 193 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7083, allocations: 1.062 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.7084, allocations: 23.08 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7084, allocations: 4 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.7084, allocations: 2 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7084, allocations: 5.281 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.7084, allocations: 4.688 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.709, allocations: 335.3 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.7091, allocations: 79.8 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.7091, allocations: 5.25 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.7092, allocations: 15.62 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.7093, allocations: 30.62 kB / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.7094, allocations: 5.516 kB / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.936e-05/0.7094, allocations: 91.78 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7094, allocations: 1.344 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002676/0.7097, allocations: 18.84 kB / 1.089 GB, free: 13.53 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.0001224/0.7098, allocations: 106.7 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.7103, allocations: 143.3 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7103, allocations: 0 / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.7105, allocations: 81.34 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.7109, allocations: 15.14 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.7114, allocations: 220.5 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.7117, allocations: 0.7012 MB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.7118, allocations: 13.92 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.7118, allocations: 0 / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.002959/0.7147, allocations: 1.212 MB / 1.091 GB, free: 12.43 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