Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001475, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001827/0.001827, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.545/1.545, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.921/2.921, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 66.05 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4011, allocations: 157.4 MB / 1.052 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002039/0.4032, allocations: 0.7287 MB / 1.053 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.4041, allocations: 0.8312 MB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.4042, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.4043, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.091e-05/0.4044, allocations: 3.938 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.4045, allocations: 19.97 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.4046, allocations: 27.92 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4047, allocations: 12 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.4048, allocations: 19.92 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.4049, allocations: 19.91 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.4049, allocations: 4 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.4049, allocations: 0 / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.405, allocations: 8 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.405, allocations: 19.86 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.4051, allocations: 35.88 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4051, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4051, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4052, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004957/0.4057, allocations: 363.6 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4057, allocations: 12.62 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.4057, allocations: 0.9375 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4059, allocations: 172.3 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.406, allocations: 4.375 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.406, allocations: 4.375 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.4062, allocations: 62.22 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4062, allocations: 8.188 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4062, allocations: 3.938 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4062, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4064, allocations: 43.95 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4068, allocations: 280.6 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.407, allocations: 42.55 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.4071, allocations: 24.91 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4071, allocations: 3.984 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.4071, allocations: 30.56 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4071, allocations: 4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003759/0.4075, allocations: 97.56 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.4075, allocations: 51.41 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.4076, allocations: 113.7 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4076, allocations: 25.7 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4077, allocations: 80.14 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.4077, allocations: 15.84 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.4078, allocations: 17.84 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.4079, allocations: 318.8 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.4079, allocations: 16.23 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.408, allocations: 19.98 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.4082, allocations: 48.88 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4082, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.4084, allocations: 73.59 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4084, allocations: 8 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4084, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4085, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4086, allocations: 7.984 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4086, allocations: 4 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.4086, allocations: 8.016 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4086, allocations: 4 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001348/0.4088, allocations: 111.3 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4088, allocations: 7.906 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.4088, allocations: 7.125 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4088, allocations: 3.984 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4089, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4089, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.409, allocations: 169.7 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.409, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.4091, allocations: 8 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4091, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4091, allocations: 11.92 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4091, allocations: 3.938 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4091, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.4094, allocations: 163.5 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.4094, allocations: 81.11 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.4094, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.4095, allocations: 7.984 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.4096, allocations: 4 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4096, allocations: 3.984 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.4096, allocations: 83.28 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4096, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002141/0.4099, allocations: 8 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001259/0.41, allocations: 99.28 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.4102, allocations: 51.83 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4102, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.4103, allocations: 19.97 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4106, allocations: 16.25 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.4109, allocations: 121.5 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4111, allocations: 0.6807 MB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.4112, allocations: 7.984 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.4112, allocations: 11.44 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.4112, allocations: 4 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of Templates: time 0.002598/0.4138, allocations: 0.5459 MB / 1.058 GB, free: 2.496 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches