Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009324, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007847/0.007847, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.947/2.947, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 13.03 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4008, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0009923/0.4019, allocations: 379.2 kB / 1.059 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4031, allocations: 0.7884 MB / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.4031, allocations: 0 / 1.06 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.4032, allocations: 3.984 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.765e-05/0.4033, allocations: 7.938 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.4034, allocations: 8 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.4035, allocations: 23.92 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4036, allocations: 8 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.4037, allocations: 11.92 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.4037, allocations: 8 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4038, allocations: 3.938 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.4038, allocations: 0 / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.4038, allocations: 7.984 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.4039, allocations: 45.62 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.404, allocations: 27.89 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.404, allocations: 0 / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.404, allocations: 0 / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.404, allocations: 0 / 1.06 GB, free: 4.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005423/0.4046, allocations: 347.7 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4046, allocations: 8.031 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.4047, allocations: 16.83 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.4048, allocations: 164.4 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4049, allocations: 384 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4049, allocations: 4.375 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.4051, allocations: 70.11 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.4051, allocations: 192 / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4051, allocations: 3.938 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4051, allocations: 0 / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.4053, allocations: 51.95 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.4058, allocations: 280.8 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.4062, allocations: 46.48 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.4063, allocations: 20.91 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4063, allocations: 4 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4063, allocations: 38.5 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4063, allocations: 0 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003721/0.4067, allocations: 97.58 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002441/0.407, allocations: 51.41 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.407, allocations: 101.9 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4071, allocations: 29.69 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.4072, allocations: 84.08 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.4072, allocations: 7.906 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.4072, allocations: 9.719 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4074, allocations: 322.9 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.4074, allocations: 15.98 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.4075, allocations: 27.97 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.4077, allocations: 44.89 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4077, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002953/0.408, allocations: 77.59 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.408, allocations: 4 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.408, allocations: 4 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4081, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.4082, allocations: 7.984 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4082, allocations: 4 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.4082, allocations: 8.031 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4082, allocations: 3.984 kB / 1.062 GB, free: 2.031 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001023/0.4083, allocations: 121.8 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4084, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.4084, allocations: 3.125 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4084, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4084, allocations: 4 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4084, allocations: 3.984 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4086, allocations: 161.6 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4086, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.4087, allocations: 8.25 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4087, allocations: 0 / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4087, allocations: 4 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4087, allocations: 3.938 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4087, allocations: 4 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.409, allocations: 183.2 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/0.4091, allocations: 81.11 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.4091, allocations: 3.984 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.4092, allocations: 4 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.4092, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.4092, allocations: 8.031 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.4093, allocations: 87.27 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4093, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002134/0.4095, allocations: 4 kB / 1.062 GB, free: 1.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001349/0.4096, allocations: 95.25 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.4099, allocations: 47.95 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4099, allocations: 0 / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.41, allocations: 23.92 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.4103, allocations: 3.938 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.4106, allocations: 120.8 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4109, allocations: 0.6809 MB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.4109, allocations: 4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.4109, allocations: 7.438 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.4109, allocations: 0 / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of Templates: time 0.002945/0.4139, allocations: 353.4 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches