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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001803/0.001803, allocations: 196.1 kB / 16.14 MB, free: 6.645 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 65.09 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00208/0.3609, allocations: 0.7052 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.3619, allocations: 0.7963 MB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.3619, allocations: 4 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3621, allocations: 3.938 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.3621, allocations: 0 / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.3622, allocations: 8 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.3623, allocations: 19.92 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3624, allocations: 8 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.3625, allocations: 11.92 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.3625, allocations: 11.98 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3625, allocations: 3.938 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3626, allocations: 8 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.3626, allocations: 3.984 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.3627, allocations: 15.92 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.3628, allocations: 23.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3628, allocations: 0 / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3628, allocations: 0 / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3628, allocations: 7.938 kB / 1.054 GB, free: 7.168 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.0004655/0.3633, allocations: 347.7 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3633, allocations: 12.03 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3633, allocations: 8.844 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3635, allocations: 168.4 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3635, allocations: 384 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3635, allocations: 4.375 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3637, allocations: 54.23 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3638, allocations: 192 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3638, allocations: 7.922 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3638, allocations: 4 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3639, allocations: 35.97 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3644, allocations: 276.8 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.3645, allocations: 34.55 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.3646, allocations: 24.91 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3646, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3646, allocations: 38.44 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3646, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003386/0.365, allocations: 77.64 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.365, allocations: 55.53 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.3651, allocations: 105.8 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3651, allocations: 25.7 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.3652, allocations: 87.98 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3652, allocations: 3.938 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3653, allocations: 17.72 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3654, allocations: 314.8 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.3655, allocations: 20.22 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.3655, allocations: 15.98 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3657, allocations: 40.77 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3657, allocations: 0 / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001757/0.3659, allocations: 61.66 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3659, allocations: 8.094 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3659, allocations: 3.984 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3659, allocations: 0 / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.366, allocations: 11.98 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.366, allocations: 0 / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.3661, allocations: 8 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3661, allocations: 3.984 kB / 1.055 GB, free: 5.102 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 7.452e-05/0.3662, allocations: 109.8 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.3662, allocations: 8 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.3662, allocations: 3.125 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3662, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3662, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3662, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3664, allocations: 173.5 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3664, allocations: 3.938 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.3665, allocations: 4 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3665, allocations: 3.984 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.3665, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3665, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3665, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3667, allocations: 159.4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.3668, allocations: 81.09 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.3668, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.3669, allocations: 4 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3669, allocations: 8.016 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3669, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.367, allocations: 83.28 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.367, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002115/0.3672, allocations: 4 kB / 1.056 GB, free: 4.371 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.0001238/0.3673, allocations: 95.25 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3675, allocations: 43.89 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3676, allocations: 0 / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.3676, allocations: 11.98 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.368, allocations: 17.94 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.3683, allocations: 119.2 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3685, allocations: 0.685 MB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.3686, allocations: 3.984 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.3686, allocations: 7.438 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3686, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.00236/0.371, allocations: 365.5 kB / 1.057 GB, free: 2.977 MB / 0.8106 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