Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 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.001196/0.001196, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.2 MB / 0.6646 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8442, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002073/0.8463, allocations: 0.6721 MB / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.8472, allocations: 0.8381 MB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.8473, allocations: 4 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.8474, allocations: 3.938 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.8475, allocations: 7.094 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.8476, allocations: 23.84 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.8478, allocations: 68.61 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.8479, allocations: 32.81 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.848, allocations: 36.45 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.8481, allocations: 43.2 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.8482, allocations: 4.938 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.051e-05/0.8482, allocations: 5.344 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.8483, allocations: 29.25 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.8483, allocations: 36.55 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.8485, allocations: 94.61 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8485, allocations: 0 / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8485, allocations: 0 / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8485, allocations: 0 / 0.9514 GB, free: 7.766 MB / 0.7169 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.0005789/0.8491, allocations: 392.6 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.8491, allocations: 8.656 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.8492, allocations: 8.75 kB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.8494, allocations: 201.8 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.8494, allocations: 7.969 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.8494, allocations: 3.812 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.8498, allocations: 162.5 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.8498, allocations: 192 / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8498, allocations: 5.156 kB / 0.9522 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.8498, allocations: 6.688 kB / 0.9522 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.8503, allocations: 155.3 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.8508, allocations: 441.8 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.8511, allocations: 118.8 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.8513, allocations: 80.5 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.8513, allocations: 1.281 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.8513, allocations: 31.84 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.8513, allocations: 0 / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007187/0.852, allocations: 228.2 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.8521, allocations: 82.02 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.8522, allocations: 130.2 kB / 0.9534 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.8522, allocations: 27.05 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.8522, allocations: 106.5 kB / 0.9535 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.8523, allocations: 6.5 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.8523, allocations: 25.17 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.8524, allocations: 324.1 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.8526, allocations: 61.48 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.8528, allocations: 77.44 kB / 0.954 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.8532, allocations: 128.5 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8532, allocations: 0 / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004146/0.8536, allocations: 162.3 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8536, allocations: 13.77 kB / 0.9543 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8536, allocations: 0 / 0.9543 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8537, allocations: 1.469 kB / 0.9543 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.8538, allocations: 21.75 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8539, allocations: 5.031 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.854, allocations: 13.42 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.854, allocations: 9.328 kB / 0.9543 GB, free: 5.238 MB / 0.7169 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 8.315e-05/0.8541, allocations: 132.4 kB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.8541, allocations: 2.719 kB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.8542, allocations: 9.906 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.8542, allocations: 1.125 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8542, allocations: 9.656 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.8542, allocations: 3.984 kB / 0.9545 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.8544, allocations: 200.8 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8544, allocations: 3.984 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.8545, allocations: 26.03 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8546, allocations: 5.438 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8546, allocations: 1.5 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8546, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8546, allocations: 5.312 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.855, allocations: 334.6 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.8551, allocations: 83.17 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.8551, allocations: 0.9062 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.8553, allocations: 17.12 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.8554, allocations: 29.38 kB / 0.9552 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.8554, allocations: 1.906 kB / 0.9552 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.8554, allocations: 93.73 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8554, allocations: 0 / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002663/0.8557, allocations: 21.53 kB / 0.9553 GB, free: 4.352 MB / 0.7169 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.0001073/0.8558, allocations: 105 kB / 0.9554 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00047/0.8563, allocations: 138 kB / 0.9555 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8563, allocations: 1.438 kB / 0.9555 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.8565, allocations: 91.33 kB / 0.9556 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.8569, allocations: 6.625 kB / 0.9556 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.8574, allocations: 205.3 kB / 0.9558 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.8576, allocations: 0.7034 MB / 0.9565 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.985e-05/0.8576, allocations: 21.02 kB / 0.9565 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.8577, allocations: 20.17 kB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8577, allocations: 4 kB / 0.9565 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of Templates: time 0.003623/0.8613, allocations: 1.252 MB / 0.9578 GB, free: 2.613 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches