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.001125/0.001125, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002839, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001107/0.001107, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.00263, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9954/0.9954, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1259/1.121, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.374/2.374, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2392/2.613, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.413e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001331/0.001355, allocations: 0.7093 MB / 0.8196 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006542/0.002009, allocations: 0.8469 MB / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.002047, allocations: 4 kB / 0.8204 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.002104, allocations: 0 / 0.8204 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.002125, allocations: 11.88 kB / 0.8204 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.792e-05/0.002193, allocations: 7.984 kB / 0.8205 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.002258, allocations: 23.94 kB / 0.8205 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.002327, allocations: 3.984 kB / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.0024, allocations: 15.98 kB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.002456, allocations: 11.94 kB / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.002473, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.002482, allocations: 4 kB / 0.8205 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.002528, allocations: 11.98 kB / 0.8205 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.00255, allocations: 4 kB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.28e-05/0.002623, allocations: 23.91 kB / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.002636, allocations: 0 / 0.8206 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002636, allocations: 4 kB / 0.8206 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.002648, allocations: 0 / 0.8206 GB, free: 0.8086 MB / 0.7917 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.0003296/0.002978, allocations: 236.5 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.003007, allocations: 12.03 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.003032, allocations: 0.9375 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.003142, allocations: 117.7 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.00315, allocations: 8.375 kB / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.003159, allocations: 384 / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.003256, allocations: 54.95 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.003262, allocations: 192 / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.003269, allocations: 8.312 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003274, allocations: 384 / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.482e-05/0.003289, allocations: 15.91 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.003479, allocations: 163 kB / 0.8211 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.003514, allocations: 14.58 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.003527, allocations: 4.859 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.003533, allocations: 8.062 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.003551, allocations: 30.56 kB / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.003552, allocations: 0 / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.472e-05/0.003647, allocations: 41.56 kB / 0.8212 GB, free: 4 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.003687, allocations: 51.41 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.366e-05/0.003741, allocations: 114.8 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.003748, allocations: 25.7 kB / 0.8214 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.003775, allocations: 80.14 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.003789, allocations: 11.89 kB / 0.8215 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.00381, allocations: 9.719 kB / 0.8215 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.003882, allocations: 323 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.00389, allocations: 0 / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.003896, allocations: 256 / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/0.003918, allocations: 19.61 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.00392, allocations: 4 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.713e-05/0.003957, allocations: 29.7 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.003968, allocations: 4 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.003974, allocations: 7.938 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.003986, allocations: 0 / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.004042, allocations: 12.08 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.004044, allocations: 0 / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.004058, allocations: 0 / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.004061, allocations: 0 / 0.8219 GB, free: 15.27 MB / 0.8073 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 4.761e-05/0.004109, allocations: 116.7 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.00412, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.004137, allocations: 11.08 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004138, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.004141, allocations: 4 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.004142, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.949e-05/0.004212, allocations: 65.91 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004213, allocations: 3.938 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.004228, allocations: 11.92 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.004233, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.004234, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-06/0.004237, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.004238, allocations: 3.938 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004239, allocations: 4 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.004562, allocations: 127.5 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-06/0.00457, allocations: 4 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.715e-05/0.004597, allocations: 4.031 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.004623, allocations: 11.92 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004624, allocations: 0 / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.078e-05/0.004635, allocations: 12.84 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004635, allocations: 0 / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001062/0.004741, allocations: 4 kB / 0.8223 GB, free: 14.84 MB / 0.8073 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 8.583e-05/0.004827, allocations: 76.42 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.227e-05/0.004879, allocations: 16.8 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.004885, allocations: 4 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.0049, allocations: 8.953 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.005057, allocations: 37.88 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.005399, allocations: 115.4 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.005428, allocations: 59.34 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.537e-05/0.005443, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.005486, allocations: 55.39 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of SimCode: time 6.42e-07/0.005487, allocations: 0 / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.001876/0.007363, allocations: 473.4 kB / 0.8231 GB, free: 13.95 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.138292828574777]