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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 209.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.471/3.471, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 69.91 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3985, allocations: 181.9 MB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002258/0.4007, allocations: 0.6413 MB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4019, allocations: 0.828 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.402, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4021, allocations: 7.938 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.347e-05/0.4021, allocations: 3.938 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.4022, allocations: 7.984 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.4023, allocations: 27.92 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4025, allocations: 3.984 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.4025, allocations: 15.94 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.4026, allocations: 7.984 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.4026, allocations: 4 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.4026, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.4027, allocations: 15.92 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.4027, allocations: 11.94 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.4028, allocations: 23.89 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4028, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4028, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4028, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 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.0004948/0.4033, allocations: 270.3 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4034, allocations: 12.03 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.4034, allocations: 8.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.4036, allocations: 114.5 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.4036, allocations: 4.375 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.4036, allocations: 384 / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.4038, allocations: 62.17 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4038, allocations: 192 / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4038, allocations: 3.938 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4038, allocations: 0 / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.404, allocations: 35.97 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.4044, allocations: 216.6 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.4045, allocations: 42.42 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.4046, allocations: 20.91 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4046, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4047, allocations: 30.56 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.4047, allocations: 4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003447/0.405, allocations: 77.58 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.405, allocations: 51.41 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4052, allocations: 105.8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4052, allocations: 25.7 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.4053, allocations: 92.09 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.4053, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.4053, allocations: 13.84 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4055, allocations: 318.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.4056, allocations: 19.97 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.4056, allocations: 15.92 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4058, allocations: 32.83 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4058, allocations: 3.938 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001896/0.406, allocations: 77.61 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.406, allocations: 6.656 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.406, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.406, allocations: 0 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.4061, allocations: 7.984 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4061, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.4062, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.4062, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 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.0001092/0.4063, allocations: 130.4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.4063, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.4063, allocations: 7.156 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4063, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4063, allocations: 256 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4063, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4065, allocations: 113.2 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4065, allocations: 0 / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.4065, allocations: 11.98 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4065, allocations: 0 / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4065, allocations: 0 / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4065, allocations: 4 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4065, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.4068, allocations: 163.4 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.4068, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4068, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.4069, allocations: 7.984 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.4069, allocations: 4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4069, allocations: 4 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.407, allocations: 83.31 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.407, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002072/0.4072, allocations: 7.953 kB / 1.368 GB, free: 9.684 MB / 1.061 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.0001287/0.4073, allocations: 95.23 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.4075, allocations: 31.97 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4075, allocations: 0 / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.4076, allocations: 27.92 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4079, allocations: 13.05 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.4082, allocations: 109.6 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.4083, allocations: 63.34 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.4083, allocations: 0 / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.4083, allocations: 7.438 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4083, allocations: 0 / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of Templates: time 0.00307/0.4114, allocations: 459.8 kB / 1.368 GB, free: 8.84 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.748302545398474]