Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001472/0.001472, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.001965/0.001965, allocations: 165 kB / 24.17 MB, free: 168 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 1.044/1.044, allocations: 177.2 MB / 204.6 MB, free: 5.141 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.904/1.904, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/4.175e-05, allocations: 8.781 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002472/0.002513, allocations: 0.727 MB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003779, allocations: 0.8799 MB / 0.7768 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.003838, allocations: 3.375 kB / 0.7768 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.003958, allocations: 0.875 kB / 0.7768 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.003994, allocations: 5.797 kB / 0.7768 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.00419, allocations: 15.97 kB / 0.7768 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.004291, allocations: 36.03 kB / 0.7768 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.321e-05/0.004384, allocations: 11.92 kB / 0.7768 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.004466, allocations: 17.95 kB / 0.7769 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.00454, allocations: 16.84 kB / 0.7769 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.00456, allocations: 11.31 kB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.004574, allocations: 4 kB / 0.7769 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.004631, allocations: 13.62 kB / 0.7769 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.004663, allocations: 9.641 kB / 0.7769 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.004769, allocations: 26.36 kB / 0.7769 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004773, allocations: 0 / 0.7769 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.153e-06/0.004774, allocations: 0 / 0.7769 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.004778, allocations: 4 kB / 0.7769 GB, free: 3.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003717/0.00515, allocations: 236.9 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.0052, allocations: 15.16 kB / 0.7772 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.00524, allocations: 4.938 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.005391, allocations: 109.8 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.00541, allocations: 1.281 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.005421, allocations: 4.375 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.005591, allocations: 72.11 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.005601, allocations: 1.312 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.00561, allocations: 384 / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.005617, allocations: 384 / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.005661, allocations: 13.38 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.00597, allocations: 175 kB / 0.7775 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.006048, allocations: 23.28 kB / 0.7776 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.006074, allocations: 9.578 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.006102, allocations: 0.6562 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.006127, allocations: 30.56 kB / 0.7776 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.006129, allocations: 1.219 kB / 0.7776 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.006286, allocations: 49.56 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.006324, allocations: 52.34 kB / 0.7777 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.006419, allocations: 111.4 kB / 0.7778 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.006435, allocations: 29.7 kB / 0.7778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.006483, allocations: 85.39 kB / 0.7779 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.006501, allocations: 4.516 kB / 0.7779 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.006548, allocations: 27.34 kB / 0.7779 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.006648, allocations: 315.7 kB / 0.7782 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006667, allocations: 0 / 0.7782 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.006679, allocations: 4 kB / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.006722, allocations: 16.36 kB / 0.7783 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.006725, allocations: 0.9688 kB / 0.7783 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.578e-05/0.006801, allocations: 37.64 kB / 0.7783 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.00682, allocations: 17.7 kB / 0.7783 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.006826, allocations: 0 / 0.7783 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.00684, allocations: 0.9844 kB / 0.7783 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.00693, allocations: 4 kB / 0.7783 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.006933, allocations: 0 / 0.7783 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.006962, allocations: 8.594 kB / 0.7783 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.006968, allocations: 5.828 kB / 0.7783 GB, free: 2.031 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.558e-05/0.007053, allocations: 112.7 kB / 0.7784 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.007077, allocations: 0 / 0.7784 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.007104, allocations: 7.25 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007106, allocations: 0.8125 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.007111, allocations: 8.656 kB / 0.7785 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.007115, allocations: 0.875 kB / 0.7785 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.00724, allocations: 73.86 kB / 0.7785 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.007243, allocations: 0.5625 kB / 0.7785 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.007301, allocations: 8.781 kB / 0.7785 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.007305, allocations: 3.984 kB / 0.7785 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.007311, allocations: 9.031 kB / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.007313, allocations: 0 / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.007316, allocations: 3.938 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.007429, allocations: 137 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.007438, allocations: 4 kB / 0.7787 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.007448, allocations: 0 / 0.7787 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.007514, allocations: 5.031 kB / 0.7787 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.007559, allocations: 11.92 kB / 0.7787 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.007563, allocations: 0 / 0.7787 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.697e-05/0.00758, allocations: 13.91 kB / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00758, allocations: 0 / 0.7787 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001968/0.007777, allocations: 8 kB / 0.7787 GB, free: 1.594 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001288/0.007905, allocations: 81.44 kB / 0.7788 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.007995, allocations: 17.39 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.007999, allocations: 0.6875 kB / 0.7788 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-05/0.008024, allocations: 9.734 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.008216, allocations: 14.05 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.008533, allocations: 137.2 kB / 0.779 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.008577, allocations: 59.34 kB / 0.779 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.775e-05/0.008605, allocations: 3 kB / 0.779 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.008662, allocations: 51.38 kB / 0.7791 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/0.008663, allocations: 4 kB / 0.7791 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of Templates: time 0.002985/0.01165, allocations: 0.6414 MB / 0.7797 GB, free: 0.5547 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.098972920328379]