Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009909/0.0009909, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001051/0.001051, allocations: 161.4 kB / 24.17 MB, free: 324 kB / 18.57 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.9322/0.9322, allocations: 177.1 MB / 204.6 MB, free: 4.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.982/1.982, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.044e-05, allocations: 5.406 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002622/0.002652, allocations: 0.7059 MB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003807, allocations: 0.8378 MB / 0.7767 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.003859, allocations: 5.656 kB / 0.7767 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003977, allocations: 0 / 0.7767 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.004015, allocations: 5.688 kB / 0.7767 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.004151, allocations: 18.36 kB / 0.7767 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.004238, allocations: 23.92 kB / 0.7767 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.004331, allocations: 8.75 kB / 0.7768 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.004411, allocations: 12.75 kB / 0.7768 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.004472, allocations: 13.41 kB / 0.7768 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.00449, allocations: 0 / 0.7768 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.004501, allocations: 6.531 kB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.004555, allocations: 5.203 kB / 0.7768 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.004584, allocations: 9.625 kB / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.269e-05/0.004677, allocations: 21.61 kB / 0.7768 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.004681, allocations: 0 / 0.7768 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.283e-06/0.004683, allocations: 4 kB / 0.7768 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.004687, allocations: 0 / 0.7768 GB, free: 3.703 MB / 0.7292 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.00036/0.005047, allocations: 238 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.005091, allocations: 10.44 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.005124, allocations: 4.938 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.005277, allocations: 110.5 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.00529, allocations: 7.281 kB / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.005299, allocations: 4.312 kB / 0.7772 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.005436, allocations: 58.94 kB / 0.7772 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.005446, allocations: 192 / 0.7772 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.005454, allocations: 384 / 0.7772 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.005461, allocations: 5.031 kB / 0.7772 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.005481, allocations: 3.938 kB / 0.7772 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.005775, allocations: 166.9 kB / 0.7774 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.154e-05/0.005836, allocations: 22.52 kB / 0.7774 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.005857, allocations: 4.859 kB / 0.7774 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.005872, allocations: 3.984 kB / 0.7774 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.005905, allocations: 39.34 kB / 0.7775 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.005907, allocations: 0 / 0.7775 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.006039, allocations: 37.58 kB / 0.7775 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.006077, allocations: 51.41 kB / 0.7776 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.006151, allocations: 110.7 kB / 0.7777 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.006164, allocations: 26.2 kB / 0.7777 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.006207, allocations: 82.03 kB / 0.7778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.006225, allocations: 3.953 kB / 0.7778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.006258, allocations: 13.72 kB / 0.7778 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006359, allocations: 320.1 kB / 0.7781 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.00637, allocations: 4 kB / 0.7781 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.006378, allocations: 0 / 0.7781 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.006405, allocations: 12.5 kB / 0.7781 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006407, allocations: 1.406 kB / 0.7781 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.58e-05/0.006473, allocations: 41.62 kB / 0.7781 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.006488, allocations: 4.547 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.006495, allocations: 4.469 kB / 0.7782 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006508, allocations: 0 / 0.7782 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.006575, allocations: 5.188 kB / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006578, allocations: 0 / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.006605, allocations: 14.31 kB / 0.7782 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.00661, allocations: 0 / 0.7782 GB, free: 2.18 MB / 0.7292 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.16e-05/0.006682, allocations: 116.7 kB / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.006703, allocations: 0 / 0.7783 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.006729, allocations: 8.688 kB / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006731, allocations: 0 / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.006733, allocations: 3.828 kB / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006736, allocations: 0 / 0.7783 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.006853, allocations: 70.64 kB / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006855, allocations: 0 / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.006887, allocations: 1 kB / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.00689, allocations: 4 kB / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.006895, allocations: 0 / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.006896, allocations: 1.188 kB / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.0069, allocations: 3.938 kB / 0.7784 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.007008, allocations: 147.5 kB / 0.7785 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.007016, allocations: 4.812 kB / 0.7785 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.007025, allocations: 0 / 0.7785 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.007082, allocations: 5.344 kB / 0.7785 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.007117, allocations: 7.922 kB / 0.7785 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.00712, allocations: 0 / 0.7785 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.493e-05/0.007135, allocations: 9.984 kB / 0.7785 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.007135, allocations: 0 / 0.7785 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001915/0.007327, allocations: 4 kB / 0.7785 GB, free: 1.766 MB / 0.7292 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.0001113/0.007438, allocations: 77.48 kB / 0.7786 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.007513, allocations: 9.484 kB / 0.7786 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007516, allocations: 0 / 0.7786 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.00754, allocations: 17.31 kB / 0.7786 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.007747, allocations: 14.66 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.008063, allocations: 120.8 kB / 0.7788 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.008104, allocations: 51.36 kB / 0.7788 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.008131, allocations: 4.609 kB / 0.7788 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.00818, allocations: 52.5 kB / 0.7789 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.008181, allocations: 0 / 0.7789 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of Templates: time 0.002744/0.01093, allocations: 441.2 kB / 0.7793 GB, free: 0.957 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.907871175557375]