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.006606/0.006606, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.00125/0.00125, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001571, allocations: 67.89 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.374, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002097/0.3761, allocations: 0.6405 MB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.3771, allocations: 0.7845 MB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.3771, allocations: 3.938 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3772, allocations: 7.938 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.585e-05/0.3773, allocations: 3.938 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.3774, allocations: 11.98 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.3775, allocations: 27.97 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3776, allocations: 0 / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.3777, allocations: 19.86 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.3777, allocations: 11.98 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3778, allocations: 4 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.3778, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.3778, allocations: 7.938 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.3779, allocations: 11.94 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.378, allocations: 35.88 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.378, allocations: 4 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.378, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.378, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 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.0004716/0.3785, allocations: 343.4 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3785, allocations: 16.61 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.3786, allocations: 0.9375 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3787, allocations: 172.3 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3788, allocations: 384 / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3788, allocations: 8.375 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.379, allocations: 54.17 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.379, allocations: 192 / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.379, allocations: 7.938 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.379, allocations: 4 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3792, allocations: 35.95 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.3796, allocations: 276.9 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3797, allocations: 34.48 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.3798, allocations: 20.91 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3799, allocations: 4 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3799, allocations: 30.56 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3799, allocations: 7.938 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003331/0.3802, allocations: 77.55 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3803, allocations: 55.34 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.3804, allocations: 101.8 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3804, allocations: 29.7 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.3804, allocations: 88.08 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.3805, allocations: 4.125 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.3805, allocations: 13.72 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3806, allocations: 314.8 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.3807, allocations: 23.91 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.3808, allocations: 11.98 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3809, allocations: 40.89 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3809, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001701/0.3811, allocations: 65.56 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3811, allocations: 7.938 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3811, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3811, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.3812, allocations: 7.984 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3812, allocations: 4 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.3813, allocations: 4.031 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3813, allocations: 4 kB / 1.211 GB, free: 5.969 MB / 0.9669 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 8.941e-05/0.3814, allocations: 113.8 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3814, allocations: 8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.3815, allocations: 3.125 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3815, allocations: 3.984 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3815, allocations: 0 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3815, allocations: 0 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3816, allocations: 169.6 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3817, allocations: 0 / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.3817, allocations: 4 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.3817, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3817, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3817, allocations: 3.984 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3817, allocations: 0 / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.382, allocations: 163.4 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.382, allocations: 89.03 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.382, allocations: 256 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3821, allocations: 8 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.3822, allocations: 3.984 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3822, allocations: 0 / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.3822, allocations: 79.28 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3822, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002051/0.3824, allocations: 11.94 kB / 1.212 GB, free: 5.23 MB / 0.9669 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.000152/0.3826, allocations: 103.2 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3828, allocations: 27.95 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3828, allocations: 4 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.3829, allocations: 15.98 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3832, allocations: 16 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.3835, allocations: 113.5 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3838, allocations: 0.6806 MB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.3838, allocations: 7.984 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3838, allocations: 7.438 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3838, allocations: 0 / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of Templates: time 0.002535/0.3864, allocations: 427 kB / 1.213 GB, free: 3.781 MB / 0.9669 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