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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001303/0.001303, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.001531/0.001531, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.441/2.441, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7416, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001885/0.7435, allocations: 0.6637 MB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.7445, allocations: 0.839 MB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.7446, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.778e-05/0.7448, allocations: 7.922 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7449, allocations: 11.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.745, allocations: 15.98 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.7451, allocations: 75.81 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.7453, allocations: 27.98 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.7453, allocations: 35.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.7454, allocations: 43.88 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.7455, allocations: 4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.948e-05/0.7455, allocations: 12 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.7456, allocations: 27.91 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.7456, allocations: 35.8 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.7458, allocations: 91.67 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.7458, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7458, allocations: 3.938 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7458, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 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.0006464/0.7464, allocations: 400.9 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.7465, allocations: 12.03 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.7465, allocations: 8.844 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.7467, allocations: 192.2 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.7467, allocations: 8.375 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.7468, allocations: 4.375 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.7471, allocations: 163.8 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7472, allocations: 192 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7472, allocations: 7.938 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7472, allocations: 4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.7476, allocations: 151.8 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.7482, allocations: 444.7 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.7485, allocations: 117 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.7487, allocations: 77.7 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.7487, allocations: 4 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.7488, allocations: 38.56 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7488, allocations: 0 / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000723/0.7495, allocations: 229.5 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7495, allocations: 77.11 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.7496, allocations: 133.8 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.7497, allocations: 25.7 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.7497, allocations: 99.97 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.7497, allocations: 11.75 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.7498, allocations: 21.72 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7499, allocations: 318.8 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.7501, allocations: 67.95 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.7503, allocations: 78 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.7507, allocations: 125.6 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7507, allocations: 4 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004413/0.7512, allocations: 161.5 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.7512, allocations: 7.938 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7512, allocations: 4.062 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7512, allocations: 0 / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.7514, allocations: 23.97 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.7514, allocations: 3.938 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.7515, allocations: 19.97 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.7515, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 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.0001036/0.7517, allocations: 129.8 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.7517, allocations: 11.84 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.7517, allocations: 11.53 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7518, allocations: 4.078 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7518, allocations: 7.922 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7518, allocations: 4 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.752, allocations: 189.6 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.752, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.7522, allocations: 23.97 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7522, allocations: 0 / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.7522, allocations: 0 / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.7522, allocations: 8 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7522, allocations: 3.938 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.7527, allocations: 330.6 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.7528, allocations: 84.98 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.7528, allocations: 8 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.753, allocations: 15.97 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.7531, allocations: 27.91 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.7531, allocations: 7.984 kB / 1.214 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.7531, allocations: 91.27 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.074e-06/0.7531, allocations: 0 / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002724/0.7534, allocations: 19.84 kB / 1.214 GB, free: 7.371 MB / 0.9356 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.0001082/0.7535, allocations: 103.2 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.754, allocations: 143.8 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.754, allocations: 0 / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.7542, allocations: 80.09 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.7546, allocations: 20.2 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.755, allocations: 220 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.7553, allocations: 0.7001 MB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.7553, allocations: 15.42 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.7553, allocations: 0 / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of Templates: time 0.002463/0.7578, allocations: 1.216 MB / 1.217 GB, free: 4.824 MB / 0.9356 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=480 -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